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

Fix server URL validation and ignore invalid routes #81

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

picoHz
Copy link
Owner

@picoHz picoHz commented Aug 14, 2024

This pull request fixes an issue with server URL validation in the API. Previously, the code was using the Url type for server URLs, but it has been updated to use a new ServerUrl type instead. The ServerUrl type ensures that the URL is valid and includes a valid authority. Additionally, the code now ignores invalid routes in the Router::new function. These changes improve the overall reliability and robustness of the API.

@picoHz picoHz linked an issue Aug 14, 2024 that may be closed by this pull request
@picoHz picoHz added the bug Something isn't working label Aug 14, 2024
@picoHz picoHz merged commit 0245ff3 into main Aug 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Webui entry can cause taxy to crash on startup
1 participant