As long as url->path returns the unescaped version, I think it's fine to store it internally in whatever format.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2004-05-26 17:27: Subject: Quoting in Standards.URI
I think arguments could be made both for and against unescaping URIs in create().
I vaguely recall a design choice (at least on my part) being made about Standards.URI not rewriting the URIs in any way unless provoked to do so, in order to facilitate comparison with other URIs.
(Looking at the implementation of java.net.URL I see the same behavior.)
Maybe addding a normalize method and overloading the comparison operator would be a better way to accomplish this.
/ Johan Schön (Firefruit)