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

Change bool AsyncStaticWebHandler::canHandle to use exact match instead of String::startsWith(_uri) #1412

Open
Zhu-jiatong opened this issue Jun 6, 2024 · 0 comments

Comments

@Zhu-jiatong
Copy link

Change URL matching to use exact match instead of startsWith(_uri). This could improve the URL matching experience and enable he use of nested URLs, such as "/file" and "/file/add".

Change: !request->url().startsWith(_uri) -> request->url() != _uri

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

No branches or pull requests

1 participant