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

SPR-17535 - Remove fragment from URL before passing it to resource provider #2025

Closed
wants to merge 1 commit into from
Closed

Conversation

neVERberleRfellerER
Copy link
Contributor

No description provided.

@pivotal-issuemaster
Copy link

@neVERberleRfellerER Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@neVERberleRfellerER Thank you for signing the Contributor License Agreement!

@neVERberleRfellerER
Copy link
Contributor Author

Code quality issue is probably spurious because my code contains assert and tool detects same issue with older tests too.

Prior to this change, ResourceUrlEncodingFilter would try to resolve
the resource path using request URL without removing fragment first,
whereas only paths should be used.

This commit synchronizes behavior of ResourceUrlEncodingFilter with
behavior of ResourceUrlProvider.

Issue: SPR-17535
@rstoyanchev
Copy link
Contributor

I've merged this but updated the algorithm a bit mostly for consistency with similar logic in UriUtils.

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.

None yet

3 participants