[JIRA] (JENKINS-47514) Special characters in password are not escaped properly

3 views
Skip to first unread message

morficus@gmail.com (JIRA)

unread,
Apr 5, 2018, 12:49:02 AM4/5/18
to jenkinsc...@googlegroups.com
Maurice W. commented on Bug JENKINS-47514
 
Re: Special characters in password are not escaped properly

There are additional characters that need to be escaped as well:

  • : (colon)
  • " (double quote)
  • ' (single quote)
  • @ (at symbol) 

 

I recently faced an issue where a git-password had some combination of the above characters... and I kept getting errors when trying to use it in my Pipeline file (both via the special helper method `credentials()` to set it as an environment variable or the credentials binding plugin).

To work around my issue... I ended up reseting the password to something with no special characters.

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

raffiglx@gmail.com (JIRA)

unread,
Jul 9, 2018, 10:13:02 AM7/9/18
to jenkinsc...@googlegroups.com
Raffi B commented on Bug JENKINS-47514

..escape dollar sign char too,  --> \$  

This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

mark.earl.waite@gmail.com (JIRA)

unread,
Dec 10, 2018, 1:12:01 PM12/10/18
to jenkinsc...@googlegroups.com
Mark Waite updated Bug JENKINS-47514
 

Fixed in git client plugin 3.0.0

Jenkins / Bug JENKINS-47514
Change By: Mark Waite
Status: Open Fixed but Unreleased
Resolution: Fixed
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

k.scherban@gmail.com (JIRA)

unread,
Feb 7, 2019, 3:56:01 PM2/7/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Nov 2, 2019, 8:07:14 AM11/2/19
to jenkinsc...@googlegroups.com
 

Released with git client plugin 3.0.0 on Nov 2, 2019.

Change By: Mark Waite
Status: Fixed but Unreleased Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages