projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
https://issues.shibboleth.net/jira/browse/SSPCPP-287
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
io
/
HTTPResponse.cpp
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.");
}