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

Commit

Permalink
Merge pull request #264 from bradmann/dev
Browse files Browse the repository at this point in the history
#263 don't double decode values from xdmp:get-request-field()
  • Loading branch information
paxtonhare committed Aug 28, 2014
2 parents 4241ec4 + 6027b94 commit 5b32804
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
Expand Up @@ -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))
Expand Down

0 comments on commit 5b32804

Please sign in to comment.