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:
7a17330
)
https://issues.shibboleth.net/jira/browse/SSPCPP-287
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 24 Aug 2010 16:55:00 +0000
(16:55 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 24 Aug 2010 16:55:00 +0000
(16:55 +0000)
xmltooling/io/HTTPResponse.cpp
patch
|
blob
|
history
diff --git
a/xmltooling/io/HTTPResponse.cpp
b/xmltooling/io/HTTPResponse.cpp
index
63a3dfc
..
3eee258
100644
(file)
--- a/
xmltooling/io/HTTPResponse.cpp
+++ b/
xmltooling/io/HTTPResponse.cpp
@@
-45,7
+45,7
@@
void HTTPResponse::sanitizeURL(const char* url)
{
const char* ch;
for (ch=url; *ch; ++ch) {
- if (iscntrl(
*ch))
+ if (iscntrl(
(unsigned char)(*ch))) // convert to unsigned to allow full range from 00-FF
throw IOException("URL contained a control character.");
}