lemonlabsuk / scala-uri

Simple scala library for building and parsing URIs
Other
305 stars 34 forks source link

UrlParser.parseQuery("") crashes #368

Closed nafg closed 2 years ago

nafg commented 3 years ago

It's unsafe to call s.head -- it will crash if s is empty.

theon commented 2 years ago

Thanks for raising this and sorry for the delay. This is now fixed and will be included in 4.0.0 which I am hoping to release in the next couple of days

theon commented 2 years ago

4.0.0 has now been released. Thanks again for raising this; much appreciated 🙇