summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-06-05 10:10:58 -0400
committerAdam <Adam@anope.org>2017-06-05 10:10:58 -0400
commit04f49225c9b7732c9e04f828ab988e4b29c7b973 (patch)
tree611558648f7868c2e2fca259972c32fb7b1ab164 /include
parentb18d1a69b6eb683cb399f92d3768215a26464443 (diff)
httputils: escape ampersand too
Diffstat (limited to 'include')
-rw-r--r--include/modules/httpd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/modules/httpd.h b/include/modules/httpd.h
index a6c60c0d4..861702cec 100644
--- a/include/modules/httpd.h
+++ b/include/modules/httpd.h
@@ -228,6 +228,9 @@ namespace HTTPUtils
case '"':
dst += "&quot;";
break;
+ case '&':
+ dst += "&amp;";
+ break;
default:
dst += src[i];
}