Skip to content

Conversation

@janbartel
Copy link
Contributor

Closes #12828

Jetty throws IllegalArgumentException during Response.encodeURI for uris like ../.

This PR ensures we encode uris such as this correctly.

Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

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

Nice solution!

@janbartel janbartel merged commit cab8d63 into jetty-12.0.x Feb 28, 2025
11 checks passed
@janbartel janbartel deleted the jetty-12.0.x-12828-encode-relative-uris branch February 28, 2025 17:04
@NihalJain
Copy link

Hi @janbartel I am seeing apache/hbase#6783 (comment), do you think this fix might help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

HttpServletResponse.encodeURL() does not support relative paths

4 participants