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

Rewriter drops HTTP parameters for requests that don't have uri-param elements #30

Closed
dmcassel opened this issue Jul 6, 2012 · 0 comments
Assignees
Labels

Comments

@dmcassel
Copy link
Collaborator

dmcassel commented Jul 6, 2012

If you set up a rewrite element like this:

declare variable $c:ROXY-ROUTES :=
  <routes xmlns="http://marklogic.com/appservices/rest">
    <request uri="^/bug" endpoint="/my/module.xqy"/>
    {
      $def:ROXY-ROUTES/rest:request
    }
  </routes>;

and then hit a URL like this:

/bug?uri=foo.xml

then the rewriter drops the uri parameter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant