Fix for URL creation method, that supports urlencode.