[reSIProcate] Bug in Data::charEncoded()
Hi,
I found that the Data::charEncoded() method in os/Data.cxx is encoding the
't' character as '%74':
Data testData("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ");
DebugLog(<< testData.charEncoded());
is logged as
"abcdefghijklmnopqrs%74uvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
The reason is that /t instead of \t is used:
if ( !isprint(c) ||
// rfc 3261 reserved + mark + space + tab
strchr(" \";/?:@&=+%$,/t-_.!~*'()", c))
Regards,
Ulrich
--
DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen!
AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl