Stop escaping dot in HTTP resource string normalization.

This commit is contained in:
Stephen Atherton 2019-01-04 00:35:58 -08:00
parent 8d4d8ccba6
commit f05bb0eb9b
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ namespace HTTP {
o.reserve(s.size() * 3);
char buf[4];
for(auto c : s)
if(std::isalnum(c) || c == '?' || c == '/' || c == '-' || c == '_')
if(std::isalnum(c) || c == '?' || c == '/' || c == '-' || c == '_' || c == '.')
o.append(&c, 1);
else {
sprintf(buf, "%%%.02X", c);