projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff7f68e
)
Add comma to encoded characters.
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 15 Jul 2009 18:47:40 +0000
(18:47 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 15 Jul 2009 18:47:40 +0000
(18:47 +0000)
xmltooling/util/URLEncoder.h
patch
|
blob
|
history
diff --git
a/xmltooling/util/URLEncoder.h
b/xmltooling/util/URLEncoder.h
index
5b895d1
..
ec4bba6
100644
(file)
--- 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));
}
};