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

Encode IRIs when used with java.net.URI #1127

Closed
acoburn opened this issue Oct 28, 2020 · 0 comments · Fixed by #1128
Closed

Encode IRIs when used with java.net.URI #1127

acoburn opened this issue Oct 28, 2020 · 0 comments · Fixed by #1128
Labels
area/http HTTP module
Milestone

Comments

@acoburn
Copy link
Member

acoburn commented Oct 28, 2020

The HTTP layer uses URI::create with IRI values in a few locations. If those IRIs contain characters that are not supported by URIs, then a 500 exception results. The solution is to just encode those IRI values when creating the URI.

@acoburn acoburn added the area/http HTTP module label Oct 28, 2020
@acoburn acoburn added this to the 0.17 Release milestone Oct 28, 2020
acoburn added a commit that referenced this issue Oct 28, 2020
acoburn added a commit that referenced this issue Oct 28, 2020
acoburn added a commit that referenced this issue Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/http HTTP module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant