"Log Selected" on files beginning with . results in unsupported URL format error

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 3.0.1
    • Affects Version/s: 2.7
    • Component/s: Git
    • Environment:

      Standalone SourceTree application version 2.7 (152)

      Mac OS X 10.13.4

       

      $ javac -version
      javac 1.8.0_161

       

       

    • Severity 2 - Major

      When examining the contents of git commits, running "Log Selected..." on files with names that begin with a period results in a dialog box with the following error:

       

      Potential security issue detected in the specified URL.

      Sourcetree determined this URL is in an unsupported format.

       

      To reproduce, select a git commit that contains a file with a name beginning with a period (e.g. ".gitignore"), right-click on that file and select "Log Selected...".

      Spotted in SourceTree for Mac 2.7 (152), but this may affect other versions.

            Assignee:
            Unassigned
            Reporter:
            Sean M. Paus
            Votes:
            12 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              Resolved: