core icon indicating copy to clipboard operation
core copied to clipboard

Html pages: URL validation

Open bryanboza opened this issue 11 years ago • 5 comments

Related to #6803

When you try to add a new page with some special character in the url field, the system is showing an error message with a list of some examples with not allowed characters... This include characters like: # , {, } and some others and the system is allowing save pages with that...

SC: http://screencast.com/t/B5GVXxk2fB7

Tested on master-3.1 // H2 // FF

bryanboza avatar Jan 15 '15 15:01 bryanboza

ensure we do not allow any of these characters in the URL

jtesser avatar Jan 15 '15 15:01 jtesser

URL still allows to save page with special character ""

special character

Tested on dotCMS version: 3.1 nightly build (2015-01-20 22:35) Linux // H2 // Chrome

shaydotcms avatar Jan 21 '15 14:01 shaydotcms

@shayngr I updated the code here. Should be in next nightly build so test again tomorrow

jtesser avatar Jan 21 '15 14:01 jtesser

Fixed, Tested on nightly build 2015-01-20 // H2 // FF

bryanboza avatar Jan 21 '15 14:01 bryanboza

Added to test rail: http://qa.dotcms.com/index.php?/cases/view/52928

shaydotcms avatar Feb 02 '15 16:02 shaydotcms