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

CHM file is downloaded without extension

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Component/s: doclinks-plugin
    • Environment:
      Jenkins under WS2012R2 x64
      doclinks 0.61
      java 1.8.0_161
      jenkins 2.121.1
    • Similar Issues:

      Description

      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 ? 

       

        Attachments

          Activity

          Hide
          ikedam 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
          
          Show
          ikedam 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

            People

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

              Dates

              Created:
              Updated:
              Resolved: