Menu

#1 freedb.java user id - simple fix

open
nobody
None
5
2004-02-01
2004-02-01
Anonymous
No

On one of my win32 hosts the user name is 'foo bar'
and the freedb server chokes on the space in the user
name .

the fix is obv --
change:

System.getProperty("user.name") + "+" + hostName + "+"
+ appName + "+" + version + "&proto=5";

with:

System.getProperty("user.name").replaceAll(" ","") +
"+" + hostName + "+" + appName + "+" + version +
"&proto=5";

-greg

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.