Query string gets stripped out when using the logged_in scheme. #9530
-
Hi All, When my users visit https://mysite.com/someurl?token=1234 that page is protected using the usual They therefore get redirect to: https://mysite.com/loginpage?redirect=https://mysite.com/someurl Note that the Ideally I want them to be redirected to https://mysite.com/loginpage?redirect=https://mysite.com/someurl?token=1234 Any ideas why this might be happening? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Nice find. Yes, it's happening because we use cms/src/Auth/Protect/Protection.php Lines 68 to 71 in d76a4b4 Can you make an issue instead? |
Beta Was this translation helpful? Give feedback.
Nice find. Yes, it's happening because we use
request()->url()
here where we should probably be usingfullUrl()
cms/src/Auth/Protect/Protection.php
Lines 68 to 71 in d76a4b4
Can you make an issue instead?