aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-22 01:30:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-22 16:08:45 +0300
commit0e6d08495733ed268e1624ca6450a0f4ecccac33 (patch)
tree0d2f58c87a96ebca97f17b7c5697413fc9118908 /web
parent7cde0aab8206a5d95091860a8c1114d625f5280a (diff)
Add support for forced rebuild
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)