You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at scala-uri it uses parboiled, which is a java library with scala wrapper. IIRC that makes it not an option as hammock is cross-published to ScalaJS.
Currently it allows for some invalid URIs, which lead to runtime errors when passed to Apache HTTP (thrown by java.net.URI) or AsyncHttpClient.
Examples of invalid URIs which pass
hammock.Uri.fromString
parser:::
^&%$#@!
http://^&%$#@!/foo
A couple of ideas for how to solve this:
java.net.URI
constructor as a parser, in type-safe way (probably the easiest)I'd be happy to contribute once you decide on direction.
The text was updated successfully, but these errors were encountered: