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
By clicking “Sign up for GitHub&
8000
rdquo;, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
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.
Uh oh!
There was an error while loading. Please reload this page.
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: