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

Rewrite rule enhencement #445

Open
yjwu-leadstec opened this issue Mar 1, 2024 · 0 comments
Open

Rewrite rule enhencement #445

yjwu-leadstec opened this issue Mar 1, 2024 · 0 comments

Comments

@yjwu-leadstec
Copy link

I found a small mistake from dispatcher/src/conf.d/rewrites/rewrite.rules line 31. I guess you intended to match ".html, .svg, .png", but because of the lack of an back escape, the rule also matched "ahtml, bsvg, cpng". It should add an escape character before the ".".

Expected Behaviour

match ".html, .svg, .png"

Actual Behaviour

also matched "ahtml, bsvg, cpng"

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