Fixed error in url() function

Sometimes url() function produced URL with unnecessary slash, eg.
`http://dalerium.net//register.php` - that's fixed.