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
bottle route URL url encode path #1392
Comments
What do you mean by „http://localhost:8080/test/hello URL work fine“? Not with the If you want a route for |
i have a mistake. I mean unicode URL not work. How to work? |
I can't type |
i have a mistake. I mean unicode URL not work. How to work? |
This work fine with both the development version and latest release of bottle and both |
I have tested and it seems to work correctly, try this @AdamGracery : from bottle import run, get
@get('/test/<name>')
def test(name):
print(name)
return name
run() bottle log
bash
|
http://localhost:8080/test/我
@get('/test/')
def testme(name):
return 'good'
don't work. but ERROR.
http://localhost:8080/test/hello URL work fine.
I know http://localhost:8080/test?a=我 also work fine.
but I want to know how to make it work. In URL PATH have some unicode words. Wireshark display Its UTF-8 URL Encoded.
http://localhost:8080/test/%E6%88%91
how to set bottle Make it work. Thank YOU!
The text was updated successfully, but these errors were encountered: