Closed garriguv closed 6 years ago
Thanks for reporting this! Sorry for the delay replying; I'll take a look tonight.
The error message isn't very good here, but the issue is the port number. In 2dc30fbea4076e50f3d4129f062f03e81ebf6754 the port number was limited to being a maximum five characters (since TCP only supports port numbers up to to 65535).
I am happy to remove this restriction, since there is little benefit. Note however that port number will still be limited to Int.MaxValue
Thanks again for reporting this. I have released version 1.1.5
with the original behaviour where port numbers up to Int.MaxValue
are supported.
That was super fast. Thank you :+1:
Hi,
We're trying to update
scala-uri
to the latest version (from0.4.x
), and we're running into a regression for some URLs (admittedly, pretty strange ones 😄):soundcloud://sounds:78237871?target_url=https%3A%2F%2Fsoundcloud.com%2Fosfdjskj-dkfsdfa%2Fofsfhsdlfsf
Interestingly, this works in the scala js example website: https://lemonlabs.io/scala-uri-scalajs-example/index.html
This likely got introduce between
1.0.0-rc1
and1.1.4
.Code Example:
Results in the following:
I'm having a look now, but maybe you know exactly where to look 😃