trellis-ldp/trellis

Encode IRIs when used with java.net.URI

Closed this issue · 0 comments

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.