commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19061] - ExtendedPeoperties.save(...) does not escape special characters
Date Sat, 19 Apr 2003 20:07:57 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19061>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19061

ExtendedPeoperties.save(...) does not escape special characters





------- Additional Comments From mohankishore@yahoo.com  2003-04-19 20:07 -------
Actually to think about it, the patch submitted should not break a majority of 
existing files. 

When loading, it would condense 2 successive back-slashes in the input file 
into 1, but will read in a single back-slash as is.

I would recommend changing the method save() - the other options seem more 
confusing, imho. This would also make the properties file outputted more 
compatible with the java.util.Properties file. Currently, the commas in the 
values are not escaped, i.e. if you save and load a value with an embeded 
comma, it will come back as an array/vector.

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


Mime
View raw message