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

strip path does not work with named url pattern #464

Open
tuxranger opened this issue Mar 17, 2021 · 0 comments
Open

strip path does not work with named url pattern #464

tuxranger opened this issue Mar 17, 2021 · 0 comments

Comments

@tuxranger
Copy link
Contributor

When using both strip_path and a named url pattern the strip path option is not respected. Instead the full path is used.

Reproduction Steps:

  1. Set strip_path to true
  2. Add a named url pattern to the listen_path
  3. Check logs to see that the forwarded url is not stripped.

Expected behavior:

I would expect to be able to use a named url parameter and still be able to strip the path.

Observed behavior:

The path is not stripped, instead the full path is forwarded.

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

No branches or pull requests

1 participant