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

AbstractSvnScmProvider#parseScmUrl() accepts file URLs with backslashes while SvnTagBranchUtils cannot handle them

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.9.5
    • Fix Version/s: None
    • Component/s: maven-scm-provider-svn
    • Labels:
      None

      Description

      Subversion accepts URLs in the form:

      svn co file:///D:\my\repo

      While this URL is invalid, it is still parsed properly. Using the same URL in <developerConnection /> makes SvnTagBranchUtils completely fail in path calculation because it does not handle backslashes at all.

       

      The proposed solution is that parseUrl() will test file URLs for backslashes and reject them since they are invalid anyway.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                michael-o Michael Osipov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: