-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fixes --proxy without a protocol throwing an uncaught error #742
Conversation
Co-authored-by: Jade Michael Thornton <jademichael@jmthornton.net>
Co-authored-by: Jade Michael Thornton <jademichael@jmthornton.net>
Is there anything else that needs changing? Is the test okay? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it! Just a merge conflict left to resolve, a different PR made an unrelated change in the same spot as you, just need to include both changes
The test fails with url lowercase but passes when it is uppercase. I'm not sure why that is. |
I fixed it! The issue was a missing comma after the previous require statement. It should pass the tests now. (It did on my machine) |
Co-authored-by: Jade Michael Thornton <jademichael@jmthornton.net>
This fixes the issue where the --proxy would throw an uncaught error when used without specifying a protocol. The fix is having the server not allow you to use --proxy without specifying a valid protocol.
Fixes #451