Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-15296

HST link generation regression in 15.2.0

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 15.2.0
    • 15.2.1
    • None
    • None
    • Pulsar
    • Pulsar 302,3,4 - Cycle gap
    • Undetermined

    Description

      Reported by client:

      When upgrading to 15.2.0, we noticed that url parameters are unwantedly passed to other links on the same page.

      I debugged the behaviour and found in HstLinkImpl#toUrlForm line 397 this new code

      if (!requestContext.isPageModelApiRequest() && requestContext.getServletRequest().getQueryString() != null)

      { urlString += "?" + requestContext.getServletRequest().getQueryString(); }

      The params are for the current page, we never want them to be automatically set in other URL's. Can this behaviour be changed on your end?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmilicevic Marijan Milicevic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: