Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5894

Add boolean voter that votes on a particular GET parameter and an optional value

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.3
    • Component/s: core
    • Labels:
      None
    • Magnolia Release:
      5.3.3

      Description

      It's currently not possible to e.g. add bypasses for servlets that vote on the existence of a GET parameter (and an optional value).

      info.magnolia.voting.voters.BasePatternVoter#resolveURIFromValue(Object value) will only consider the RequestURI which doesn't contain any query string.

      info.magnolia.voting.voters.RequestHasParametersVoter only votes whenever there is any parameter (GET or POST).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pmundt Philip Mundt
              Reporter:
              pmundt Philip Mundt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: