| Issue 4: | Hash Character Interpreted in .properties File | |
| 1 person starred this issue and may be notified of changes. | Back to list |
If my password for a datasource has a # character, it will interpret that as a comment and truncate the string. I tested with java.util.Properties and it does not exhibit this behavior. |
|
,
Feb 09, 2009
It seems CustomProperties#load(InputStream) does not follow the java.util.Properties#load(InputStream) contract. Here is a patch to fix this bug, but i think this method should create a temporary java.util.Properties, call load() on this temporary props, then copy the read data into "this". Thus, the usual contract (about the comments, blank links, encoded characters, etc) will be respected. |
|
| ► Sign in to add a comment |