[ 
http://jira.codehaus.org/browse/SCM-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138163#action_138163
 ] 

Michael Koch commented on SCM-334:
----------------------------------

The class org.codehaus.plexus.util.cli.Commandline, which is used by 
SvnCommandLineUtils, has a method quoteArgument which could be used for this.

> 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

        

Reply via email to