Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

plubming: transport, Escape the user and pswd for endpoint. Fixes #723#762

Merged
mcuadros merged 1 commit intosrc-d:masterfrom
zkry:escape-basic-auth-user-pswd
Mar 1, 2018
Merged

plubming: transport, Escape the user and pswd for endpoint. Fixes #723#762
mcuadros merged 1 commit intosrc-d:masterfrom
zkry:escape-basic-auth-user-pswd

Conversation

@zkry
Copy link
Contributor

@zkry zkry commented Feb 28, 2018

When endpoint is generating a url string I made sure that the username and password are escaped properly using the url.PathEscape function. There is also a test to make sure the string representation of the Git URL is a valid URL by parsing it.

Signed-off-by: Zachary Romero zacromero3@gmail.com

…rc-d#723

Signed-off-by: Zachary Romero <zacromero3@gmail.com>
@mcuadros
Copy link
Contributor

mcuadros commented Mar 1, 2018

Nice!

@mcuadros mcuadros merged commit 43fe660 into src-d:master Mar 1, 2018
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.

2 participants