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

Solve the problem of non-ASCII characters in URL. Try to fix #1026 #1222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Solve the problem of non-ASCII characters in URL. Try to fix #1026 #1222

wants to merge 1 commit into from

Commits on Apr 23, 2021

  1. Solve the problem of non ASCII characters and escape characters in UR…

    …L. Try to fix #1026
    
    Try to fix #1026
    Now URL supports non ASCII code, which is based on utf8 coding.
    
    If your path of URL contain % or other non ASCII characters, please do not put the URL into address bar in browser directly.
    
    Encode the URL with JavaScrip firstly, url_encode = encodeURI(URL)   (JavaScrip language)
    
    For example, encodeURI("http://localhost:4567/api/v1/permissionrole/permission/get%2Fabc中文한국어にほんごلغة عربية")
    
    Then put the encodeURI into the address bar in browser, you will get correct answer.
    
    Co-Authored-By: Chauncey-Xxy <[email protected]>
    Bugjudger and Chauncey-Xxy committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    d88172c View commit details
    Browse the repository at this point in the history