UriComponent doesn't properly handle ./ relative urls, close #680