Properly escape delimiters in path in UrlBuilder

Specifically %-encode ? and # passed to setPath so they're not confused
with the start of the query-string or hash.

Bug: issue 8885
Change-Id: I599e4b8e4506d704a5b8867b1c1551b735f3ce50
2 files changed