Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect build a wrong URL with twice the to value #233

Open
stefanolissa opened this issue Apr 15, 2019 · 0 comments
Open

Redirect build a wrong URL with twice the to value #233

stefanolissa opened this issue Apr 15, 2019 · 0 comments

Comments

@stefanolissa
Copy link

stefanolissa commented Apr 15, 2019

If I add a rule (on version 4.0.3) like

        <condition type="parameter" name="code">.+</condition>
        <from>^.*$</from>
        <to type="redirect" last="true">http://www.domain.com/qr?%{query-string}</to>

the url http://qr.domain.com?code=444 which points to the webapp using only the urlrewrite lib is redirected to

http://www.domain.com?code=444http://www.domain.com?code=444

with the url repeated twice. The same rule with urlrewrite 3.2.0 is working.

I'm wrong in the configuration or is it a bug?

Stefano.

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

No branches or pull requests

1 participant