Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1970

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.2
    • None
    • None
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jmills Jeff Mills
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: