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

Don't Change Typos inside of URL #288

Closed
Skylion007 opened this issue Jun 17, 2021 · 3 comments
Closed

Don't Change Typos inside of URL #288

Skylion007 opened this issue Jun 17, 2021 · 3 comments
Labels
enhancement Improve the expected

Comments

@Skylion007
Copy link

I tried to apply this automatically to some repos and it tried to fix some URLs. Obviously, that won't work if the original URL has a typo and the URL is not under your control. Absolute HTTPS URLs should not be changed or at least there should be an option to disable the changing of them.

@epage epage added the enhancement Improve the expected label Jun 17, 2021
@Skylion007
Copy link
Author

Skylion007 commented Jun 17, 2021 via email

@Skylion007
Copy link
Author

Skylion007 commented Jun 18, 2021

Even worse, I found it mangles go get urls for people who have intentional typos in their usernames. This breaks the repo. Furthermore, that regex may not catch it. Here is a diff in a go repo I tried this on.

-       "github.com/Unknwon/goconfig"
+       "github.com/Unknown/goconfig"

@epage epage closed this as completed in c83f655 Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve the expected
Projects
None yet
Development

No branches or pull requests

2 participants