Paths containing successive slashes force redirected to destination query parameter

Created on 10 May 2023, about 1 year ago

Problem/Motivation

Paths containing successive slashes force redirected to the destination query parameter. "/user///login?destination=/dashboard" always gets redirected to the "/dashboard" page.

Steps to reproduce

Proposed resolution

RedirectLeadingSlashesSubscriber should check if the requested path is internal or external and based on should redirect. RedirectResponseSubscriber If it is SecuredRedirectResponse i.e. internal then the target should be set back to the old response target.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs review

Version

9.5

Component
Request processing 

Last updated about 10 hours ago

No maintainer
Created by

🇮🇳India D2ev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024