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

Support backwards compatibility wrt using hst:link with a binaries path that contains a queryString

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • High
    • Resolution: Fixed
    • None
    • 2.30.02, CMS-10.0-GA
    • None

    Description

      Since 10.0, a link like this

      <@hst.link path="/binaries/content/assets/styling/my-style.min.css?1.01.01" />

      is likely to result in

      /site/content/assets/styling/my-styling.min.css?1.01.01

      where in the 7.9 this would result in

      /binaries/content/assets/styling/my-styling.min.css?1.01.01

      Although formally the correct usage is:

      <@hst.link path="/binaries/content/assets/styling/my-style.min.css" >
      <hst:param name="version" value=1.01.01"/>
      </hst:link>

      (resulting in ?version=1.01.01 appended) for easier upgrades it makes sense to support /binaries/content/assets/styling/my-style.min.css?1.01.01 as well since this usage might be in use a lot.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: