You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Jeff Mills (JIRA)" <ji...@codehaus.org> on 2008/11/10 16:47:13 UTC

[jira] Created: (CONTINUUM-1970) Cannot add Maven 2 project via POM URL if SCM user name contains "@"

Cannot add Maven 2 project via POM URL if SCM user name contains "@"
--------------------------------------------------------------------

                 Key: CONTINUUM-1970
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1970
             Project: Continuum
          Issue Type: Bug
    Affects Versions: 1.2
            Reporter: Jeff Mills
            Priority: Minor


A malformed URL error occurs when trying to add a Maven 2 project specifying an HTTP URL to the POM file if the user name contains an "@" character.

In our environment, subversion account names are of the form "name@domain".  After entering the URL, username, and password, a "malformed URL" error is displayed.  The error message in the log was like "Malformed URL: http:*****@domain:password@url_to_the_pom".  At first I wondered why only the first part of the user name was masked in the log and the password was not, until I realized that the system considered everything after the first "@" to be the URL.

Work-around: I entered the URL-encoded value of the user name ("name%40domain") in the form and the project was successfully added.

-- 
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

        

[jira] Closed: (CONTINUUM-1970) Cannot add Maven 2 project via POM URL if SCM user name contains "@"

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wendy Smoak closed CONTINUUM-1970.
----------------------------------

    Resolution: Duplicate

Duplicate of CONTINUUM-1199, special characters in scm passwords cause problems

> Cannot add Maven 2 project via POM URL if SCM user name contains "@"
> --------------------------------------------------------------------
>
>                 Key: CONTINUUM-1970
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1970
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Jeff Mills
>            Priority: Minor
>
> A malformed URL error occurs when trying to add a Maven 2 project specifying an HTTP URL to the POM file if the user name contains an "@" character.
> In our environment, subversion account names are of the form "name@domain".  After entering the URL, username, and password, a "malformed URL" error is displayed.  The error message in the log was like "Malformed URL: http:*****@domain:password@url_to_the_pom".  At first I wondered why only the first part of the user name was masked in the log and the password was not, until I realized that the system considered everything after the first "@" to be the URL.
> Work-around: I entered the URL-encoded value of the user name ("name%40domain") in the form and the project was successfully added.

-- 
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