Spring Security
  1. Spring Security
  2. SEC-1358

DefaultWebInvocationPrivilegeEvaluator fails with empty context path

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: Web
    • Labels:
      None

      Description

      There is currently an assertion which checks that the context path has a length > 0, when in fact this is unnecessary.

        Activity

        Hide
        Luke Taylor added a comment -

        I've removed the check for the empty context path. The context path used in the dymmy request cannot be null (even if a null argument is originally supplied), so there should be no problem.

        Show
        Luke Taylor added a comment - I've removed the check for the empty context path. The context path used in the dymmy request cannot be null (even if a null argument is originally supplied), so there should be no problem.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: