You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/12/06 01:34:44 UTC
[GitHub] [apisix] qq54903099 commented on issue #5690: request help: apisix hmac url paramater encode result not equal java ecnode result
qq54903099 commented on issue #5690:
URL: https://github.com/apache/apisix/issues/5690#issuecomment-986362097
> In fact, APISIX uses `[ngx.escape_uri](https://github.com/openresty/lua-nginx-module#ngxescape_uri)` to escape uri, this way the `+` is translated into a space, I hope this is useful to you: https://www.cnblogs.com/zhengxl5566/p/10783422.html refer to: [1]: [openresty/lua-nginx-module#1124](https://github.com/openresty/lua-nginx-module/issues/1124) [2]: https://juejin.cn/post/6844903512485134343#heading-6 [3]: https://www.cnblogs.com/zhengxl5566/p/10783422.html
`+` apisix is %20 but in java is %2B
`space` apisix is %20 but in java is +
`!` apisix is ! but in java is %21
`#` apisix is %24 but in java is %23
`%` apisix is % but in java is %25
`(` apisix is ( but in java is %28
')' apisix is ) but in java is %29
I don't thin use replace is good idea
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org