-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SITES-15031 - [Regression] Encoded URL is decoded unintentionally and the URL doesn't work #2564
Conversation
… the URL doesn't work
Codecov Report
@@ Coverage Diff @@
## main #2564 +/- ##
============================================
+ Coverage 87.31% 87.33% +0.01%
- Complexity 2645 2646 +1
============================================
Files 232 232
Lines 7063 7072 +9
Branches 1071 1071
============================================
+ Hits 6167 6176 +9
Misses 359 359
Partials 537 537
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Kudos, SonarCloud Quality Gate passed! |
|
||
static { | ||
PATTERNS.add(Pattern.compile("(<%[=@].*?%>)")); | ||
PATTERNS.addAll(Arrays.stream(RESERVED_CHARACTERS_ENCODED) |
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.
@cioriia , why do we need a distinct regex pattern for each character?
Fix the URL encoding in DefaultPathProcessor .