Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-306

Bad URL in .cvspass if using non standard port number for CVS server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: maven-scm-provider-cvs
    • Labels:
      None
    • Environment:
      Windows,

      Description

      Using latest evolution of CVS provider, that create the .cvspass on Windows, NOT needing CVSNT

      summary :
      when using a SCM URL targeting a CVS server with a non standard port, the CVS root inside .cvspass is badly generated, with the 2401 numbers preceding the indicated port number, preventing this .cvspass line to be used later for authentication.

      detail:

      when I set a password and a username for a SCM operation on CVS
      with a CVS root including a non standard port like this:

      scm url:

      <scm>
      <developerConnection>
      scm:cvs|pserver|@s.serv.cdc.fr|12021/s/cvsdata/XX|project
      </developerConnection>
      </scm>

      it create a line in .cvspass like this
      /1 :pserver:usr@s.serv.cdc.fr:240112021/s/cvsdata/XX A:yZZ30 e

      and then fails with "bad password"

      If I edit manually the line, removing the "2401" spurious numbers this way
      /1 :pserver:usr@s.serv.cdc.fr:12021/s/cvsdata/XX A:yZZ30 e

      it works, even if it add again the
      /1 :pserver:usr@s.serv.cdc.fr:240112021/s/cvsdata/XX A:yZZ30 e
      line, after the previous...

      thanks in advance...

        Attachments

          Activity

            People

            • Assignee:
              evenisse Emmanuel Venisse
              Reporter:
              alain.coetmeur Alain Coetmeur
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: