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

docs: response-rewrite plugin support for regular expressions #7130

Closed
NMichas opened this issue May 25, 2022 · 1 comment
Closed

docs: response-rewrite plugin support for regular expressions #7130

NMichas opened this issue May 25, 2022 · 1 comment
Labels
doc Documentation things good first issue Good for newcomers

Comments

@NMichas
Copy link
Contributor

NMichas commented May 25, 2022

Current State

response-rewrite plugin supports regular expressions, however the current doc page (https://apisix.apache.org/docs/apisix/plugins/response-rewrite) does not reflect that.

Desired State

Provide additional documentation/examples, showing the use of regular expressions. It would be beneficial if examples also showcase how multiple replacements for the same request can be performed, i.e.
<a href="/'> -> <a href="/some-other-path'>
<img src="/a.png'> -> <img src="/some-other-path-a.png'>

@NMichas NMichas added the doc Documentation things label May 25, 2022
@spacewander
Copy link
Member

PR is welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Documentation things good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants