diff options
author | Simon Van Casteren <simon.van.casteren@gmail.com> | 2019-11-04 14:50:56 +0100 |
---|---|---|
committer | Simon Van Casteren <simon.van.casteren@gmail.com> | 2019-11-04 14:50:56 +0100 |
commit | ce9b6ef5ec667d474f6e6644046b27905441660a (patch) | |
tree | 5dd4f2a54322194e392bf8be91da0ebdd433ef5c /src | |
parent | 404429ca9197a508efc1be5425d6fc4a00a5eae9 (diff) |
Fix for #181: unurlify x-www-form-urlencoded without custom serialization using period
Diffstat (limited to 'src')
-rw-r--r-- | src/c/urweb.c | 4 |
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"); |