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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding default protocol to URL inputs #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Joao620
Copy link

@Joao620 Joao620 commented May 1, 2024

馃搼 Description

Currently, when a user enters a URL without specifying a protocol (e.g., just "google.com") in the index page input field, the application returns an error message stating that "No scheme was provided." To help users avoid such errors, I propose adding a default protocol (HTTPS or HTTP) to their input. If the entered URL already includes a protocol, it will leave it unchanged.

@wasi-master
Copy link
Owner

Thanks

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.

None yet

2 participants