From 14ae15bf19fb4199b5400122a34101ebd0df8c5d Mon Sep 17 00:00:00 2001
From: Martin Nilsson <nilsson@opera.com>
Date: Thu, 13 Sep 2012 16:06:57 +0200
Subject: [PATCH] Documentation of http_decode_string.

---
 src/modules/_Roxen/roxen.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/modules/_Roxen/roxen.c b/src/modules/_Roxen/roxen.c
index f75b0f24f5..36bcf2f535 100644
--- a/src/modules/_Roxen/roxen.c
+++ b/src/modules/_Roxen/roxen.c
@@ -377,7 +377,10 @@ static void f_make_http_headers( INT32 args )
 static void f_http_decode_string(INT32 args)
 /*! @decl string http_decode_string(string encoded)
  *!
- *! Decodes an http transport-encoded string.
+ *! Decodes an http transport-encoded string. Knows about %XX and
+ *! %uXXXX syntax. Treats %UXXXX as %uXXXX. It will treat '+' as '+'
+ *! and not ' ', so form decoding needs to replace that in a second
+ *! step.
  */
 {
    int proc;
-- 
GitLab