You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2006/12/08 12:44:28 UTC

DO NOT REPLY [Bug 41132] - Chainsaw cannot open log files if file name contains illegal URL characters like '#'

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41132>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41132





------- Additional Comments From pkamalak@cordys.com  2006-12-08 03:44 -------
Created an attachment (id=19231)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19231&action=view)
Proposed fix, replaces all File.toURL() to File.toURI().toURL()

Attached patch contains changes to below sources
***
1. FileLoadAction.java: url = selectedFile.toURL();
2. help/HelpManager.java:	helpLocator.installLocator(dir.toURL());
3. LogUI.java:	.getName(), file.toURL());
4. NoReceiversWarningPanel.java:	return
chooser.getSelectedFile().toURL();
5. plugins/PluginClassLoaderFactory.java:      
list.add(pluginDirectory.toURL());
plugins/PluginClassLoaderFactory.java:	list.add(file.toURL());


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org