[
http://jira.codehaus.org/browse/SCM-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129761#action_129761
]
Rahul Thakur commented on SCM-334:
----------------------------------
I haven't tried this but shouldn't this be escaped with a {{backslash}} '\'
character rather than using single quotes.
What happens if the password itself contains a single quote?
> Faulty svn commandline is generated for passwords containing special chars
> --------------------------------------------------------------------------
>
> Key: SCM-334
> URL: http://jira.codehaus.org/browse/SCM-334
> Project: Maven SCM
> Issue Type: Bug
> Components: maven-scm-provider-svn
> Affects Versions: 1.0
> Environment: All
> Reporter: Jan Lisse
> Priority: Critical
> Attachments: patch.txt
>
>
> If i use a svn password containing a semicolon with the
> maven-scm-provider-svnexe, the commandline generated by SvnCommandlineUtils
> is faulty, because
> the password is not quoted. Passwords containing other special chars might
> cause problems too.
> Solution: Enclosing the password for the commandline in single quotes solves
> this problem.
> I have attached a patch for SvnCommandlineUtils that fixes this issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira