When the `ignoreDuplicateSlashes` router option is enabled, the middleware engine fails to collapse duplicate slashes when building the match regular expression for path-scoped middleware. Because the router collapses these slashes in the request path but the middleware match still requires the doubled slash, the middleware is skipped. This can allow requests to bypass critical path-scoped middleware such as authentication, authorization, or rate limiting and reach the protected handler. This typically occurs when a plugin prefix ending with a slash is combined with a mount path starting with one.