-
Notifications
You must be signed in to change notification settings - Fork 422
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
fix: validate whether a package is an URL correctly #1356
Conversation
2cee943
to
e2a3dd5
Compare
Hmm, since we only need the path validation in one place, but can reuse the newly introduced function, I'd be inclined to keep it as-is. Or do you mean something else? |
I thought to combine all the validation for In this way, we need another function to fix #1354, something like Let me know if there is anything wrong. BTW, if so, then this pull request should be ready for review. |
Co-authored-by: chrysle <[email protected]>
for more information, see https://pre-commit.ci
e2a3dd5
to
e024312
Compare
Thanks! |
…ctly
changelog.d/
(if the patch affects the end users)Summary of changes
Fix #1355
Test plan
Tested by running
P.S. Mark it as draft as depends on discussion #1354