-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Escape special characters for GitUsernamePasswordBinding in withCrede… (
#1443) * Escape special characters for GitUsernamePasswordBinding in withCredentials * Fix test for GitUsernamePasswordBinding in withCredentials * Adapt writing ASKPASS from git-client-plugin * Fix tests * Reduce diffs by retaining old, ugly formatting of comment In the future, the repository will be formatted with spotless and that ugliness will be banished forever. Helps my code review to make the diffs small now. * Make filename encoding methods private No need to make them visible outside the class where they are used. Also adds the same comment on these methods as is used on the methods in the git client plugin so that future consumers will know to not use them for any other purpose than their current very limited use. * Add more sample passwords * Move assertions into existing conditional --------- Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
- Loading branch information
1 parent
c75dea6
commit 7968e3f
Showing
2 changed files
with
42 additions
and
12 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
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