Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-5583

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.0.1
    • 2.7
    • Git
    • None
    • Standalone SourceTree application version 2.7 (152)

      Mac OS X 10.13.4

       

      $ javac -version
      javac 1.8.0_161

       

       

    • Severity 2 - Major

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mark.victory mark_victory_arm
              Votes:
              28 Vote for this issue
              Watchers:
              36 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: