Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3802

BinariesServlet - Use handle node name as Content-Disposition filename by default

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Low
    • Resolution: Fixed
    • None
    • 4.1.0
    • None
    • None
    • Platform Sprint 140

    Description

      In the "JCR property name configuration" section [1], it says we can configure a custom jcr property name on hippo:resource node (e.g, "demosite:filename") if we want to specify content disposition filename header.
      However, it's not really common to add a custom property there in most projects.
      Therefore, I think it would be nice if it uses the handle node name by default for that (e.g, "example.pdf") when content disposition header is turned on.

      BTW, if content disposition filename header is not enabled, sometimes the link could look very weird especially when the link is generated from a content-block resource link, showing the link node path, not the handle path.

      [1] https://www.onehippo.org/10/library/concepts/images-and-assets/content-disposition.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: