Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.M2, 3.0.6
    • Component/s: Web
    • Labels:
      None

      Description

      Currently ant path matching delegates to Spring's AntPathMatcher. Many common cases can be optimized. For example, a trailing wildcard ("**") with no other wildcards could be optimized to a substring match. A wildcard by itself can be optimized to match any path.

        Activity

        Hide
        Luke Taylor added a comment -

        Simple wildcards "/*" and "" have been optimized to match all requests. For 3.1, I've also optimized the case of a trailing wildcard (e.g. "/xxx/*) to use a substring match rather than the full AntPathMatcher call. Note that this will still match based on the "directory" as AntPathMatcher would. In other words, both "/xxx" and "/xxx/" would be matched by the given pattern.

        Show
        Luke Taylor added a comment - Simple wildcards "/* " and " " have been optimized to match all requests. For 3.1, I've also optimized the case of a trailing wildcard (e.g. "/xxx/ *) to use a substring match rather than the full AntPathMatcher call. Note that this will still match based on the "directory" as AntPathMatcher would. In other words, both "/xxx" and "/xxx/" would be matched by the given pattern.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: