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

req:required() strips out '+' characters #263

@bradmann

Description

@bradmann

This query

let $var := req:required("q", "type=xs:string")
return xdmp:log($var)

with the input
"this is my
++test input"

is stripping out the '+' characters from the input (replacing them with spaces). The characters are being sent across properly url encoded as %2B. Replacing req:required() with xdmp:get-request-field() works correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions