Skip to content
This repository has been archived by the owner on Oct 6, 2019. It is now read-only.

() Characters that are not illegal are considered illegal characters #1166

Merged
merged 5 commits into from
Sep 24, 2019

Conversation

aelibyary
Copy link

@aelibyary aelibyary commented Sep 18, 2019

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

@bdukes bdukes added this to the 9.4.1 milestone Sep 18, 2019
Copy link
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, merging

@valadas valadas added the bug Something isn't working label Sep 24, 2019
@valadas valadas merged commit d9c5a23 into dnnsoftware:release/3.0.x Sep 24, 2019
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.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants