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

Trim whitespace from Repo URL and lowercase it #1393

Closed
wants to merge 3 commits into from

Conversation

MajorTanya
Copy link
Contributor

This should close #1392.

Trimming whitespace and lowercasing the URL isn't an invasive procedure on the URL itself, and helps users who may have accidentally copied a space, or somehow capitalised or uppercased the URL because of an overzealous autocorrect, etc.

In accordance with RFC 3986, only the scheme and host are
case-insensitive. Therefore we're only replacing the scheme with its
guaranteed in-lowercase version.
@AntsyLich AntsyLich closed this in 22d8aad Oct 31, 2024
@MajorTanya MajorTanya deleted the fix-1392 branch October 31, 2024 15:27
cuong-tran pushed a commit to komikku-app/komikku that referenced this pull request Nov 1, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Repo URLs aren't lowercased or trimmed of whitespace
3 participants