From: Scott Cantor Date: Wed, 15 Jul 2009 18:47:40 +0000 (+0000) Subject: Add comma to encoded characters. X-Git-Tag: 1.2.1~31 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=b2659ee159f57f3ecd95a0f3db90c30bc05d64e0;hp=ff7f68e4571783d23d0418973adf657eb81223c7;p=shibboleth%2Fcpp-xmltooling.git Add comma to encoded characters. --- diff --git a/xmltooling/util/URLEncoder.h b/xmltooling/util/URLEncoder.h index 5b895d1..ec4bba6 100644 --- a/xmltooling/util/URLEncoder.h +++ b/xmltooling/util/URLEncoder.h @@ -65,7 +65,7 @@ namespace xmltooling { * @return true iff the character should be encoded */ virtual bool isBad(char ch) const { - static char badchars[]="=&/?:\"\\+<>#%{}|^~[]`;@"; + static char badchars[]="=&/?:\"\\+<>#%{}|^~[],`;@"; return (ch<=0x20 || ch>=0x7F || strchr(badchars,ch)); } };