diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-11-01 17:03:32 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-11-05 13:27:04 +0100 |
commit | ab8c6f24d28ea1d1e6258cf316b4b97a0baf2377 (patch) | |
tree | 7fa4264d592abc9f2831f0e3d2e8746d371375be /src/httpserver.cpp | |
parent | 991248649b76a5a071e1360a700f3e2ecf3e1e1f (diff) |
Add SAFE_CHARS[SAFE_CHARS_URI]: Chars allowed in URIs (RFC 3986)
Diffstat (limited to 'src/httpserver.cpp')
-rw-r--r-- | src/httpserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp index b327af3f19..91ebc4680c 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -241,7 +241,7 @@ static void http_request_cb(struct evhttp_request* req, void* arg) } LogPrint(BCLog::HTTP, "Received a %s request for %s from %s\n", - RequestMethodString(hreq->GetRequestMethod()), SanitizeString(hreq->GetURI()).substr(0, 100), hreq->GetPeer().ToString()); + RequestMethodString(hreq->GetRequestMethod()), SanitizeString(hreq->GetURI(), SAFE_CHARS_URI).substr(0, 100), hreq->GetPeer().ToString()); // Find registered handler for prefix std::string strURI = hreq->GetURI(); |