The URLs of local files should be stored as the user entered them, including spaces, instead of converting the spaces into "%20".
Spaces are kept in FreeMind 0.8.0, and of 0.9.0 beta 17. Spaces are replaced with "%20" in FreeMind 0.9.0 beta 18. This change in IMHO a regression, a step back.
The behavior required by me causes no technical difficulties AFAIK.
Example: The address "C:\Users\Dan Polansky\Documents" should remain as it is, instead of being converted to "C:\Users\Dan%20Polansky\Documents".
Model applications: (a) OOo Writer and (b) MS Word do keep the spaces in the paths to local files, in align with the behavior required by me.
Logged In: YES
user_id=2162398
Originator: NO
The way Freemind 0.9.0 beta 19 handles spaces in addresses does not work on Windows XP network for folders that start with double backslash ("\\"). As a quick fix I added 3 lines to freemind\freemind\main\FreeMind.java after Dan's fix
// bug fix by Dan:
command = "rundll32 url.dll,FileProtocolHandler "+ url.toString();
// bug fix by Nik:
if (System.getProperty("os.name").startsWith("Windows XP")) && url.toString().startsWith("file:////"))
command = "rundll32 shell32.dll,ShellExec_RunDLL " +
url.toString().replaceAll("%20"," ").replaceAll("%25", "%");
This works for all possible "%" and " " combinations in native Windows folder names, e.g., \\Dan'sPC\C$\Users\Dan Polansky\New Folder%20 (1).
It also correctly treats 'My Documents' and 'My%20Documents' as two different folders on a remote computer.
There has been a discussion in freemind-developer mailing list a while ago:
* URLs of local files - spaces, 2008-06-25
http://sourceforge.net/mailarchive/forum.php?thread_name=80387e550806250058v722b3b48yb0713ccc58c03f34%40mail.gmail.com&forum_name=freemind-developer
* Word and Hyperlinks, 2008-06-26
http://sourceforge.net/mailarchive/forum.php?thread_name=20080626050921.317870%40gmx.net&forum_name=freemind-developer
The result was that I was wrong in saying that OOo does not store URLs using "%20".
For reference, a discussion of the format of hyperlinks containing " " and "%", in Freeplane forum:
* hyperlinks from Freemind to Freeplane, 2009-07-10
http://sourceforge.net/forum/forum.php?thread_id=3330381&forum_id=758437
--Dan