Do not run auth interceptor for unregistered routes #45523
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:New Platform
stale
Used to mark issues that were closed for being stale
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Kibana version:
master
Steps to reproduce:
/base-path/adasdfadasdf
Expected behavior:
The server returns 404 and doesn't run auth hook.
Actual behavior:
The server returns 404 and does run auth hook.
Current behavior may lead to unnecessary cookie invalidation. #44513 (comment)
Reason for this behavior is a logic for trailing-slash-url redirection https://github.com/restrry/kibana/blob/cdee299d0a58de9c5e98ee36a35bcd6e66265887/src/legacy/server/http/index.js#L96-L113 introduced in
mshustov@615f4c9
The text was updated successfully, but these errors were encountered: