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

issue with rewrite configuration #636

Closed
xiuwyang opened this issue Feb 27, 2020 · 0 comments
Closed

issue with rewrite configuration #636

xiuwyang opened this issue Feb 27, 2020 · 0 comments
Assignees

Comments

@xiuwyang
Copy link

xiuwyang commented Feb 27, 2020

In RewriteConfig, looks like the split on regex cannot parse out the literals correctly for the case like

url: \/foo\/(a|b|c)(\/.*)?
replacement: /bar/$1$2

In the provided example, literals only contain /bar/ but there are two placeholders. This causes IndexOutOfBoundsException at here

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

2 participants