We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
'?' symbol would be encoded to 0x3f when using proxy-rewrite directive.
https://github.com/apache/incubator-apisix/blob/794b1eb65e01e0e15d3dcd9cf1f0d74166e9b246/apisix/plugins/proxy-rewrite.lua#L156
Is there any way to rewrite url to append some more query parameter to the original path?
It would be highly appreciated if rewriting query parameter could be supported like in nginx: https://serverfault.com/questions/311487/nginx-rewrite-append-a-parameter-at-the-end-of-an-url
The text was updated successfully, but these errors were encountered:
this should be a bug, we should only encode uri.
uri
here is the fake code, welcome PR ^_^
local path, arg = split_uri(uri) path = uri_safe_encode(path) return path .. arg
Sorry, something went wrong.
Hi @moonming you can assign this issue to me.
xxm404
Successfully merging a pull request may close this issue.
Issue description
'?' symbol would be encoded to 0x3f when using proxy-rewrite directive.
https://github.com/apache/incubator-apisix/blob/794b1eb65e01e0e15d3dcd9cf1f0d74166e9b246/apisix/plugins/proxy-rewrite.lua#L156
Is there any way to rewrite url to append some more query parameter to the original path?
It would be highly appreciated if rewriting query parameter could be supported like in nginx: https://serverfault.com/questions/311487/nginx-rewrite-append-a-parameter-at-the-end-of-an-url
Environment
The text was updated successfully, but these errors were encountered: