Add comma to encoded characters.
authorScott Cantor <cantor.2@osu.edu>
Wed, 15 Jul 2009 18:47:40 +0000 (18:47 +0000)
committerScott Cantor <cantor.2@osu.edu>
Wed, 15 Jul 2009 18:47:40 +0000 (18:47 +0000)
xmltooling/util/URLEncoder.h

index 5b895d1..ec4bba6 100644 (file)
@@ -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));
         }
     };