Skip to content
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

WICKET-7024 decode PackageResourceReference URL attributes only insid… #1021

Merged

Conversation

pedrosans
Copy link
Contributor

@pedrosans pedrosans commented Oct 27, 2024

conditional reading of URL attributes when decoding the resource locale, style, etc. from it

tester.executeUrl(
"wicket/resource/org.apache.wicket.core.request.resource.PackageResourceReferenceTest/a.css?-orange");

assertThat(tester.getLastResponseAsString(), containsString("orange"));
Copy link
Member

Choose a reason for hiding this comment

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

Also assert that there is no blue

- test cases
- code refactoring
- WIP: the fix works only to mounted resources, next step is to make it
  work with the BasicResourceReferenceMapper
@pedrosans pedrosans force-pushed the WICKET-7024-conditional-url-decoding branch from 73b4b0e to 0ca4f62 Compare November 1, 2024 03:35
@bitstorm bitstorm merged commit 755a63a into apache:master Nov 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants