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

CHM file is downloaded without extension

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • doclinks-plugin
    • Jenkins under WS2012R2 x64
      doclinks 0.61
      java 1.8.0_161
      jenkins 2.121.1

    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

          maxime_lemare Maxime LEMARE created issue -
          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
          
          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
          ikedam ikedam made changes -
          Field Original Value New Value
          Assignee sogabe [ sogabe ] Maxime LEMARE [ maxime_lemare ]
          Resolution Won't Fix [ 2 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: