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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.5
    • None
    • maven-scm-provider-svn
    • 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

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

              Dates

                Created:
                Updated: