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

Verification of top-level domains buggy #3649

Open
TheOneWithTheBraid opened this issue Dec 9, 2024 · 0 comments
Open

Verification of top-level domains buggy #3649

TheOneWithTheBraid opened this issue Dec 9, 2024 · 0 comments

Comments

@TheOneWithTheBraid
Copy link

I encountered a funny bug : if your top-level domain is too long, your redirect URI is automatically rejected. In my case, business.braid.polycule: was considered as an invalid URI scheme - even though .business obviously is a top-level domain.

I'd highly suggest to remove that buggy check.

if host.len() <= suffix.as_bytes().len() + 1 {

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