Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42597

Percent character (%) in filenames is not url-encoded in the CHANGES page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • git-plugin
    • None

      Percent character (%) in filenames is not url-encoded in the CHANGES page.  It results in broken links. See screenshot.  In this example the URL generated is 

      https://github.beescloud.com/support-team/ZD-44831/blob/d51bb5f9d80eea1a9d7d3b5d52dc6485c25c4e33/conf_%.txt

      whereas it should be 

      https://github.beescloud.com/support-team/ZD-44831/blob/d51bb5f9d80eea1a9d7d3b5d52dc6485c25c4e33/conf_%25.txt

      with the %25 encoding.  I believe change need in:

      https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/hudson/plugins/git/browser/GithubWeb.java

        1. changes.png
          changes.png
          309 kB
        2. step-01.PNG
          step-01.PNG
          89 kB
        3. step-02.PNG
          step-02.PNG
          79 kB
        4. step-03.PNG
          step-03.PNG
          62 kB

            jtaboada Jose Blas Camacho Taboada
            afein_cb Aaron Fein
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: