Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
#263 don't double decode values from xdmp:get-request-field()
Browse files Browse the repository at this point in the history
bradmann committed Aug 1, 2014

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 6d2ee36 commit 6027b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/roxy/lib/request.xqy
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ declare variable $req:request as map:map :=
for $val in xdmp:get-request-field($name)
return
if ($val instance of xs:anySimpleType) then
xdmp:url-decode($val)
$val
else (
if ($val instance of binary()) then
map:put($map, fn:concat($name, "-filename"), xdmp:get-request-field-filename($name))

0 comments on commit 6027b94

Please sign in to comment.