• Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • doclinks-plugin
    • Jenkins under WS2012R2 x64
      doclinks 0.61
      java 1.8.0_161
      jenkins 2.121.1

      Hello,

      I found an issue which is not nice for Jenkins users. When we try to download a chm file which is published during project build; it comes on windows with no extension.

      Configuration is the following : 

      File path is correct and file exist on server side.

      Maybe this is because file is kinda blocked ? 

       

          [JENKINS-52113] CHM file is downloaded without extension

          ikedam added a comment -

          This is a behavior rather for Windows and browser implementations.

          "Index file" is a common feature for web servers.
          Index files work as shortcuts on web servers. For example, https://www.jenkins.io/ is a shortcut for https://www.jenkins.io/index.html .
          Browsers don't know the actual file names ("index.html" as above) and it depends on browsers how the file name is decided. (and browsers look add no extensions to chm files)

          Generally speaking, it's not an expected usage for chm files to use as index files.
          It's better to create a simple index html file to pointing the chm file like:

          echo '<html><body><a href="dbspec.chm">Open dbspec.chm</a></body></html>' >Source/Documentation/Output/index.html
          

          ikedam added a comment - This is a behavior rather for Windows and browser implementations. "Index file" is a common feature for web servers. Index files work as shortcuts on web servers. For example, https://www.jenkins.io/ is a shortcut for https://www.jenkins.io/index.html . Browsers don't know the actual file names ("index.html" as above) and it depends on browsers how the file name is decided. (and browsers look add no extensions to chm files) Generally speaking, it's not an expected usage for chm files to use as index files. It's better to create a simple index html file to pointing the chm file like: echo '<html><body><a href= "dbspec.chm" >Open dbspec.chm</a></body></html>' >Source/Documentation/Output/index.html

            maxime_lemare Maxime LEMARE
            maxime_lemare Maxime LEMARE
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: