Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toString doesn't add the port number #4

Closed
GentlemanHal opened this issue Dec 21, 2012 · 3 comments
Closed

toString doesn't add the port number #4

GentlemanHal opened this issue Dec 21, 2012 · 3 comments
Labels

Comments

@GentlemanHal
Copy link

Converting a Uri to a String drops the port number.

val uri: Uri = "http://localhost:3620/example"
println(uri)
println(uri.toString)

outputs

Uri(Some(http),Some(localhost),Some(3620),List(, example),Querystring(Map()))
http://localhost/example

So passing the String into a Uri extracts the port correctly so building the String to print out must be dropping it.

@theon
Copy link
Contributor

theon commented Dec 21, 2012

Thanks. Should now be fixed with this commit: 515f301

@theon theon closed this as completed Dec 21, 2012
@GentlemanHal
Copy link
Author

Ah awesome, everything seems to working fine for me now :)

Any chance of getting a release pushed to maven central so I don't have to depend on a snapshot?

@theon
Copy link
Contributor

theon commented Dec 21, 2012

Yeah sure. 0.2 is in the OSS Sonatype repo now. I think it takes a couple hours to get synced to maven central.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants