On 7/25/10 3:05 PM, Adam Barth wrote:
I don't know of any way to do that.  I can tell you that in WebKit,
the function that usually gets called to resolve URLs (called
completeURL if you want to look it up in the source) returns a
canonicalized URL.

The same is true in Gecko. The way an nsIURI object is typically constructed is from an nsIURI base (possibly null) and a URL string, and the return value is resolved and canonicalized.

-Boris

Reply via email to