Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.M1
    • Component/s: Web
    • Labels:
      None

      Description

      The Ant and Regex strategy options should be simplified. Ant matchers should always use case-insensitive comparison and always ignore the query string. Having options to override this behaviour isn't really necessary. The default regex matcher should retain the query string and should have the option of using case-insensitive matching when compiling the pattern.

        Activity

        Hide
        Luke Taylor added a comment -

        Ant pattern matching is now case-insensitive and ignores the query String (see AntPathRequestMatcher). Regex matching is implemented in RegexRequestMatcher. It includes the query string and has a constructor which allows case-insensitive matching to be used. The namespace now uses the "request-matcher" attribute in preference to "path-type" and has the options "ant", "regex" and "ciRegex".

        Show
        Luke Taylor added a comment - Ant pattern matching is now case-insensitive and ignores the query String (see AntPathRequestMatcher). Regex matching is implemented in RegexRequestMatcher. It includes the query string and has a constructor which allows case-insensitive matching to be used. The namespace now uses the "request-matcher" attribute in preference to "path-type" and has the options "ant", "regex" and "ciRegex".

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Luke Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: