commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
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:
For additional commands, e-mail:

View raw message