-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve ports when munging repository URLs
When repository URLs were altered to remove user information, we did not preserve the port. This fixes that by using the better library for munging the URL and adds tests to ensure no regression. Closes #1111
- Loading branch information
1 parent
c588793
commit 0191f0c
Showing
4 changed files
with
52 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
Fix bug for Repository URLs with auth where the port was lost. When attempting | ||
to prevent printing authentication credentials in URLs provided with username | ||
and password, we did not properly handle the case where the URL also contains | ||
a port (when reconstructing the URL). This is now handled and tested to ensure | ||
no regressions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters