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

AddRequestParameter doesn't support chinese character #2717

Closed
cc132 opened this issue Aug 30, 2022 · 1 comment
Closed

AddRequestParameter doesn't support chinese character #2717

cc132 opened this issue Aug 30, 2022 · 1 comment
Labels

Comments

@cc132
Copy link

cc132 commented Aug 30, 2022

my question
when I use AddRequestParameter,I use the chinese characher as the value,then the console reports some error
However,when I use the non-Chinese characters,it works well. My dependency version as follows:
<springboot.version>2.6.4<springboot.version>
<springcloud.version>2021.0.3<springcloud.version>

my sample

image
image

does anyone have the same problem as me?

@xinkeng0
Copy link
Contributor

xinkeng0 commented Sep 2, 2022

You need urlencode the parameter

filters:
  - AddRequestParameter=name,%E5%B0%8F%E6%9D%8E

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants