Fix issue #836 with $sanitizer->url('/path/to/page.html') and $sanitizer->url('path/to/page.html') not working properly, i.e. non-domain URLs that had a file extension like .html.