[cpp-xmltooling] branch master updated: Improvement to malformed URL message.
Scott Cantor
cantor.2 at osu.edu
Wed Jun 27 14:08:42 EDT 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=c0e60dc7e809b263ba5fd3c9af788909bea78be0
The following commit(s) were added to refs/heads/master by this push:
new c0e60dc Improvement to malformed URL message.
c0e60dc is described below
commit c0e60dc7e809b263ba5fd3c9af788909bea78be0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Jun 27 14:08:38 2018 -0400
Improvement to malformed URL message.
---
xmltooling/io/HTTPResponse.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xmltooling/io/HTTPResponse.cpp b/xmltooling/io/HTTPResponse.cpp
index bff8599..6fbe601 100644
--- a/xmltooling/io/HTTPResponse.cpp
+++ b/xmltooling/io/HTTPResponse.cpp
@@ -62,7 +62,7 @@ void HTTPResponse::sanitizeURL(const char* url)
ch = strchr(url, ':');
if (!ch)
- throw IOException("URL is malformed.");
+ throw IOException("URL is missing a colon where expected; improper URL encoding?");
string s(url, ch - url);
std::locale loc;
vector<string>::const_iterator i =
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list