aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/mime-url-encoding4
-rw-r--r--web/mime-url-encoding.cxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/web/mime-url-encoding b/web/mime-url-encoding
index 8c8ddfb..9db0887 100644
--- a/web/mime-url-encoding
+++ b/web/mime-url-encoding
@@ -10,6 +10,10 @@
namespace web
{
+ // @@ Add the query flag (true by default). If true, then the encoding is
+ // applied to the URL query part, and so the plus character is used to
+ // encode the space character. Audit use cases afterwards.
+ //
void
mime_url_encode (const char* v, std::ostream& o);
diff --git a/web/mime-url-encoding.cxx b/web/mime-url-encoding.cxx
index fc0511e..fa85dd3 100644
--- a/web/mime-url-encoding.cxx
+++ b/web/mime-url-encoding.cxx
@@ -17,7 +17,7 @@ using namespace std;
namespace web
{
// Encode characters different from unreserved ones specified in
- // "2.3. Unreserved Characters" of http://tools.ietf.org/html/rfc3986.
+ // "2.3. Unreserved Characters" of http://tools.ietf.org/html/rfc3986.
//
void
mime_url_encode (const char* v, ostream& o)