This repository has been archived by the owner on Oct 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
() Characters that are not illegal are considered illegal characters #1166
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Partially reverted "Removed empty and meaningless css files" (dnnsoftware#1025)
Release/3.0.x
Bumps version to 9.4.1 for next release (dnnsoftware#1154)
Release/3.0.x
bdukes
approved these changes
Sep 18, 2019
valadas
approved these changes
Sep 24, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, merging
mitchelsellers
pushed a commit
that referenced
this pull request
Sep 26, 2019
* Update "About" information for DNN Platform to be more relevant and current (#1094) * Update to include relevant information and links for DNN Platform * Update local resource file to include new content * Update URLs to be absolute instead of using protocol-relative URLs * Moved UNSAFE_componentWillMount to componentDidMount * Fixed an issue where float where preventing collapsible height calculation * Prevents chrome autofill * Updates Dnn dependencies * DNN-31578 - Not listing deleted children in pages Parent dropdown (#1099) * Build front end projects in parallel using lerna (#1101) * Added lerna config * Sets up lerna to use yarn workspaces * Adds checksum for 9.4.0 Platform * Bumps version to 9.4.1 for next release (#1154) * Fix incorrect sites loaded (#1159) * DNN-33050 - Trigger reloadPortalList event with portalId and cultureCode * DNN-33050 - Invoke getPortalSettings with current selected portalId and cultureCode instead of getPortals which always point to current running portal - This is to load the correct portal settings based on user selection when view portal settings * DNN-29429: Move horizontal-line div tags after permission checks. (#1124) * Fix tab sorting before they are serialized (#1134) * DNN-32445 [Scheduler] Js error on changing scheduler server name (#1136) * In Admin Logs, allow <pre> tags to be styled (#1142) Fixes #1140 * Unable to set membership settings "Use Email Address as Username" ON (#1143) * Fix to display IP Filter settings correctly (#1146) * DNN-9532 - Fix to display IP Filter settings correctly - Code refactor and minor bugs listed below - Update state with the value from json response to ensure IP Filter object in UI is updated - Move specificityOptions and typeOptions initialization to constructor - Move all the validation of the form upon saving to reduce code complexity - Replace toggle option of RuleSpecificity to use const String of IP_RANGE and SINGLE_IP to make the code simpler and more readable - Move code to clear SubnetMask just before update to prevent SubnetMask become blank when user switch in between IP_RANGE and SINGLE_IP option * DNN-9532 - Remove unnecessary blank line * Modules get duplicated when try to localize modules (#1162) * DNN-31428 - Remove overflow property after closing PersonaBar (#1164) - revert to original style * () Characters that are not illegal are considered illegal characters (#1166) * Bumps Dnn dependencis to 9.4.0 release packages (#1169) * Fix for upgrade issues of Personabar in 9.4.0 (#1170) * Fix issues with upgrade of personabar to version 9.4.0 where old controllers were still in the DB and old packages were still registered * Update projects * Added message after localization update finishes (#1172) * Removed wrong rc0001 references in csproj
valadas
added a commit
that referenced
this pull request
Sep 29, 2019
* Update "About" information for DNN Platform to be more relevant and current (#1094) * Update to include relevant information and links for DNN Platform * Update local resource file to include new content * Update URLs to be absolute instead of using protocol-relative URLs * Moved UNSAFE_componentWillMount to componentDidMount * Fixed an issue where float where preventing collapsible height calculation * Prevents chrome autofill * Updates Dnn dependencies * DNN-31578 - Not listing deleted children in pages Parent dropdown (#1099) * Build front end projects in parallel using lerna (#1101) * Added lerna config * Sets up lerna to use yarn workspaces * Adds checksum for 9.4.0 Platform * Bumps version to 9.4.1 for next release (#1154) * Fix incorrect sites loaded (#1159) * DNN-33050 - Trigger reloadPortalList event with portalId and cultureCode * DNN-33050 - Invoke getPortalSettings with current selected portalId and cultureCode instead of getPortals which always point to current running portal - This is to load the correct portal settings based on user selection when view portal settings * DNN-29429: Move horizontal-line div tags after permission checks. (#1124) * Fix tab sorting before they are serialized (#1134) * DNN-32445 [Scheduler] Js error on changing scheduler server name (#1136) * In Admin Logs, allow <pre> tags to be styled (#1142) Fixes #1140 * Unable to set membership settings "Use Email Address as Username" ON (#1143) * Fix to display IP Filter settings correctly (#1146) * DNN-9532 - Fix to display IP Filter settings correctly - Code refactor and minor bugs listed below - Update state with the value from json response to ensure IP Filter object in UI is updated - Move specificityOptions and typeOptions initialization to constructor - Move all the validation of the form upon saving to reduce code complexity - Replace toggle option of RuleSpecificity to use const String of IP_RANGE and SINGLE_IP to make the code simpler and more readable - Move code to clear SubnetMask just before update to prevent SubnetMask become blank when user switch in between IP_RANGE and SINGLE_IP option * DNN-9532 - Remove unnecessary blank line * Modules get duplicated when try to localize modules (#1162) * DNN-31428 - Remove overflow property after closing PersonaBar (#1164) - revert to original style * () Characters that are not illegal are considered illegal characters (#1166) * Bumps Dnn dependencis to 9.4.0 release packages (#1169) * Fix for upgrade issues of Personabar in 9.4.0 (#1170) * Fix issues with upgrade of personabar to version 9.4.0 where old controllers were still in the DB and old packages were still registered * Update projects * Added message after localization update finishes (#1172) * DNN-31960 Expand/Collapse All Fails After Moving Dragging Away The Only Child Item (#1176) * DNN-28054 Expand All Fails After Adding Multiple Pages (#1175) * Store date in "round-trip" format (#1179) * Add missing keys for data consent (#1180)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR has been created instead of #1031 to re-target branch release/3.0.x
Fixes #1029
Summary
This issue is very obscure. The error message is misleading.
The URL is rejected because of a hidden host setting named AUM_ReplaceChars which has a default value of
&$+,/?~#<>()¿¡«»!"
(including a space at the beginning)
URLs are tested against the above characters. In a nutshell, the above characters are replaced with a hyphen when found in the URL.
The other aspect of this issue is that the validation logic returns a suggested modified URL to the front-end, which is completely ignored.
@daguiler Suggested:
I think the easiest way to fix this without introducing breaking changes is
1- to change the error message so that it doesn't specify which characters are "illegal", (Fixed)
2- and also, replace the user-provided URL with the suggested modified URL in case there were validation errors. (Fixed)
Fix Video