Xsoda/url — pull request #1 by guidefloripa (2014-03-20 19:41:46+00:00)
Title: Fix port detection

Some URLs like http://www.mysite.com/redirect?url=http://www.mysite.com/page are not correct parsed.
To correctly detect the port, first you should check if the ':' is before the path.