commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject [LANG] StringUtils.unescapeCsv() allows unpaired embedded double-quote
Date Tue, 04 Nov 2008 15:05:04 GMT
Just happened to notice that StringUtils.unescapeCsv() does not check
that embedded double-quotes occur in pairs.

Should this condition be detected, and if so, what should happen?
Throw an Exception? Return the original string untranslated?
Just document the behaviour?

At present the string <"foo"bar"> is returned as <foo"bar>.

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


Mime
View raw message