Continuum
  1. Continuum
  2. CONTINUUM-1970

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

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      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.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Jeff Mills
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: