Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ParameterLimitValve to enforce request parameter limits for specific URLs #753

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Sep 12, 2024

  1. Add ParameterLimitValve to enforce request parameter limits

    - Introduced ParameterLimitValve to allow limiting the number of parameters in HTTP requests.
    - Added configuration options for global parameter limits and specific limits for URL patterns.
    - Requests exceeding the configured limits are rejected with an HTTP 400 Bad Request error.
    - Includes unit tests (TestParameterLimitValve) to ensure full test coverage for the valve's functionality.
    - Added documentation for the ParameterLimitValve, detailing its attributes, usage, and configuration.
    dsoumis committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    007605a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    603a999 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. - Fixed how ParameterLimitValve enforces the limit, by enforcing it a…

    …t the point when parameters are parsed - rather than after.
    
    - Introduced a new maxParameterCount field in Request.java class
    - Removed configuration option for global parameter limit, as it is replaced by the default Connector's limit.
    - Replaced unit tests with integration tests to ensure better coverage for the valve's functionality.
    - Fixed documentation
    dsoumis committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    3bc0bd8 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    ec0fdd6 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    56468a6 View commit details
    Browse the repository at this point in the history