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

Handle URLs with invalid networks #1145

Closed
wants to merge 1 commit into from

Conversation

csillag
Copy link
Contributor

@csillag csillag commented Jan 11, 2024

We don't want to crash on URLs like https://explorer.oasis.io/abc/xyz.

This turns out to be surprisingly difficult to achieve, but here we go.

Copy link

github-actions bot commented Jan 11, 2024

Deployed to Cloudflare Pages

Latest commit: ca3721cf471a4bbdc8fcdf3cf0b3e76ca3c33047
Status:✅ Deploy successful!
Preview URL: https://b3faad8f.oasis-explorer.pages.dev

@csillag csillag force-pushed the csillag/dont-die-on-random-url branch from b129923 to ca3721c Compare January 11, 2024 06:16
@csillag csillag marked this pull request as ready for review January 11, 2024 06:19
@csillag
Copy link
Contributor Author

csillag commented Jan 11, 2024

I'm not quite satisfied with the semantics of SearchScope and SearchScopeCandidate (and the ambiguity of the missing valid flag), I'll try to improve this a little more..

@csillag
Copy link
Contributor Author

csillag commented Jan 27, 2024

This has mostly been obsoleted by #1159, except the design-related parts. I'm closing this, and will open a new one with just those parts.

@csillag csillag closed this Jan 27, 2024
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

Successfully merging this pull request may close these issues.

1 participant