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
(from parent 1:
9e4cdc8
)
Fix a bug affecting newer boost
author
Scott Cantor
<cantor.2@osu.edu>
Sun, 4 Jan 2015 22:39:16 +0000
(22:39 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Sun, 4 Jan 2015 22:39:16 +0000
(22:39 +0000)
xmltooling/io/HTTPResponse.cpp
patch
|
blob
|
history
diff --git
a/xmltooling/io/HTTPResponse.cpp
b/xmltooling/io/HTTPResponse.cpp
index
c49c9a8
..
29623cc
100644
(file)
--- a/
xmltooling/io/HTTPResponse.cpp
+++ b/
xmltooling/io/HTTPResponse.cpp
@@
-64,8
+64,9
@@
void HTTPResponse::sanitizeURL(const char* url)
if (!ch)
throw IOException("URL is malformed.");
string s(url, ch - url);
+ std::locale loc;
vector<string>::const_iterator i =
- find_if(m_allowedSchemes.begin(), m_allowedSchemes.end(), boost::bind(fn, boost::cref(s), _1, boost::cref(
std::locale()
)));
+ find_if(m_allowedSchemes.begin(), m_allowedSchemes.end(), boost::bind(fn, boost::cref(s), _1, boost::cref(
loc
)));
if (i != m_allowedSchemes.end())
return;