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
bugfix: symbol would be encoded to 0x3f when using proxy-rewrite directive #1816
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
if ctx.var.is_args == "?" then | ||
ctx.var.upstream_uri = upstream_uri .. "?" .. (ctx.var.args or "") | ||
if index then | ||
ctx.var.upstream_uri = upstream_uri .. "&" .. (ctx.var.args or "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering do we need to keep the request args?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering do we need to keep the request args?
I think we need to keep it.
If someone needn't it, he can remove args by regex_uri.
@wrl96 https://travis-ci.org/github/apache/incubator-apisix/jobs/706394034#L991 you need to rebase your branch, that is the bug of Travis CI. we can not merge this PR if the CI is failed. |
Fixed |
@wrl96 many thx, merged BTW, you should use |
ok, I used |
Summary
bugfix: symbol would be encoded to 0x3f when using proxy-rewrite directive
Full changelog
Issues resolved
Fix #1801