Bill Barker wrote: >>billbarker 2002/06/13 22:34:23 >> >> Modified: util/java/org/apache/tomcat/util/net URL.java >> Log: >> Teach URL how to parse userInfo. >> >> This allows URL to parse a string of the form: >> ftp://user:[EMAIL PROTECTED]/ >> >> This actually doesn't fix any Tomcat problems (assuming that the string > > is correct to start with), and this class is only used by TC33. I just sleep > easier if the URL is parsed correctly. > > > I have no objection to applying this to o.a.c.u.URL (this is just a > re-packaged version of that class). However, with Remy doing so many > releases, I thought I should ask before hacking the 4.x files. ;-) Like
Why's that ? Costin doesn't ask (and I don't complain about it) ;-) > with 3.3 it seems that 4.x ignores the resulting (in the current code) > MalformedURLException (from the ':'), and passes on the original URL string. > As such (like in 3.3) it doesn't "fix" anything functionally. A bug was filed related to that (bug 9846). It does appear to work in 4.1.x. I didn't try to look into why it was working though ;-) Remy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>