Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.3
-
None
Description
If UTF-8 has been enabled, there are still a set of chars not accepted by SimpleUrlPattern (ex. ' char used everywhere by MS Word) .
SimpleUrlPattern use regEx: [
p
p
p
\\w!\"#$%&'*+,-./:; <=>?@`|~\\^\\(\\)
\\[
]]
Adding UTF-8 support this regEx shuold be inverted, so it should accept all chars except a specified set.
the new regEx could be something like ^((?![<>]).)*$
Checklists
Acceptance criteria
Attachments
Issue Links
- caused by
-
MAGNOLIA-2929 Enhance unicode support
-
- Closed
-
- is causing
-
MAGNOLIA-3198 SimpleUrlPattern.URL_CHAR_PATTERN block newlines chars
-
- Closed
-
- is duplicated by
-
MAGNOLIA-3161 Some UTF-8 characters do not pass through security checks
-
- Closed
-