Sterzl Christian wrote:
There has been a bug in ProxyManager I spotted in
org.apache.lenya.net.ProxyManager#readConfig.
If spaces are in the path an URISyntaxException is thrown. Thus I think
it does make sense to add an replaceAll(" ", "%20") to the URI string.
configFile = new File(new
java.net.URI(ProxyManager.class.getClassLoader().getResource(fname).toSt
ring().replaceAll(" ","%20")));
What do you think. Do you think also other classes do have this bug?
I'm not familiar with the code, but maybe what you're suggesting
could be achieved using URL encoding:
java.net.URLEncoder.encode(...);
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]