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 "[EMAIL 
PROTECTED]".  After entering the URL, username, and password, a "malformed URL" 
error is displayed.  The error message in the log was like "Malformed URL: 
http:[EMAIL PROTECTED]:[EMAIL PROTECTED]".  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

        

Reply via email to