Date: Tue, 29 May 2001 18:57:19 -0700 (PDT)
Why does URI reject this string : "file:c:\\abc.bat" with the exception:
java.net.URISyntaxException: Illegal character in opaque part at index 7: file:c:\abc.bat
Assuming a zero-based index, the objection is to the "\".
RFC2396 treats "\" as an "unwise" character. The URI class tries to adhere as
closely as possible to RFC2396, therefore it rejects "\". Given that over
ninety percent of the computers on the planet insist on using "\" in pathnames,
however, perhaps we should relax the URI class on this particular point.
-- mr@eng 2001/5/30
Per further discussion with jdn@eng, closing this as WNF. We'll address win32
filename issues in a different way.
-- mr@eng 2001/7/18