summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2019-11-08 08:44:53 -0500
committerGravatar GitHub <noreply@github.com>2019-11-08 08:44:53 -0500
commit51a8b325dc30d2c6d8debbeb911ea9c4bb345476 (patch)
tree5dd4f2a54322194e392bf8be91da0ebdd433ef5c
parent404429ca9197a508efc1be5425d6fc4a00a5eae9 (diff)
parentce9b6ef5ec667d474f6e6644046b27905441660a (diff)
Merge pull request #182 from FrigoEU/181
Fix for #181: unurlify x-www-form-urlencoded without custom serialization based on period
-rw-r--r--src/c/urweb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c
index 8c445f39..a01b4aae 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -4941,13 +4941,13 @@ uw_Basis_postField *uw_Basis_firstFormField(uw_context ctx, uw_Basis_string s) {
f = uw_malloc(ctx, sizeof(uw_Basis_postField));
unurl = s;
- f->name = uw_Basis_unurlifyString(ctx, &unurl);
+ f->name = uw_Basis_unurlifyString_fromClient(ctx, &unurl);
s = strchr(s, 0);
if (!s)
uw_error(ctx, FATAL, "firstFormField: Missing null terminator");
++s;
unurl = s;
- f->value = uw_Basis_unurlifyString(ctx, &unurl);
+ f->value = uw_Basis_unurlifyString_fromClient(ctx, &unurl);
s = strchr(s, 0);
if (!s)
uw_error(ctx, FATAL, "firstFormField: Missing null terminator");