Skip to content

Add middleware to clean query strings #2627

@wilbrdt

Description

@wilbrdt

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.
Some bots can spam the cache by producing URLs with malformed query strings.

Describe the solution you'd like
To prevent this spam, it would be nice to have a middleware, directly in Richie, in charge of cleaning query strings then redirect to a clean URL if needed, as it has been implemented in this PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    easy pickSimple tasks that are ideal for new contributors to get started.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions