Passing a [/ returns a valid URI?
Closed this issue · 1 comments
schmitch commented
Actually while checking a "wrong" URI against scala-uri I've seen that calling:
Uri.parse("[/").path
would yield in something like that:
res0: String = /%5B/
I actually would prefer that this will return a IllegalArgumentException
or return a Option[Uri] since [/ is not a valid Uri.
Would also be okai to have a setting to say "more strict". Else we would need to check for valid paths by ourself.
schmitch commented
NVM