We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sanic can't find the route if there's a colon in the uri.
Code snippet
from sanic import Sanic, Request, HTTPResponse app = Sanic('zzz') @app.get(f'/abc/x:y') async def main(_: Request): return HTTPResponse() if __name__ == '__main__': app.run()
Expected behavior GET http://127.0.0.1:8000/abc/x:y 200 0
GET http://127.0.0.1:8000/abc/x:y 200 0
Actual behavior GET http://127.0.0.1:8000/abc/x:y 404 733
GET http://127.0.0.1:8000/abc/x:y 404 733
Environment
[2022-09-26 20:50:40 +0600] [13060] [INFO] Sanic v22.6.2 [2022-09-26 20:50:40 +0600] [13060] [INFO] Goin' Fast @ http://127.0.0.1:8000 [2022-09-26 20:50:40 +0600] [13060] [INFO] mode: production, single worker [2022-09-26 20:50:40 +0600] [13060] [INFO] server: sanic, HTTP/1.1 [2022-09-26 20:50:40 +0600] [13060] [INFO] python: 3.10.5 [2022-09-26 20:50:40 +0600] [13060] [INFO] platform: Windows-10-10.0.19044-SP0 [2022-09-26 20:50:40 +0600] [13060] [INFO] packages: sanic-routing==22.3.0 [2022-09-26 20:50:40 +0600] [13060] [INFO] Starting worker [13060]
Additional context tiangolo/fastapi#4892 encode/starlette#1657
The text was updated successfully, but these errors were encountered:
sanic-org/sanic#2553
Sorry, something went wrong.
Closing this. Keep thread in other issue.
No branches or pull requests
Sanic can't find the route if there's a colon in the uri.
Code snippet
Expected behavior
GET http://127.0.0.1:8000/abc/x:y 200 0
Actual behavior
GET http://127.0.0.1:8000/abc/x:y 404 733
Environment
Additional context
tiangolo/fastapi#4892
encode/starlette#1657
The text was updated successfully, but these errors were encountered: