ocket8888 opened a new pull request, #7335:
URL: https://github.com/apache/trafficcontrol/pull/7335

   Login redirect is broken because it can't handle query string parameters. 
This PR fixes it so unauthenticated users are directed back where they were 
trying to go after logging in.
   
   <hr/>
   
   ## Which Traffic Control components are affected by this PR?
   - Traffic Portal (experimental v2)
   
   ## What is the best way to verify this PR?
   Assuming you have Traffic Ops running locally on port `6443`, run `ng serve` 
in the TPv2 directory, then open the URL 
http://localhost:4200/core/servers?search=test in a new private browsing 
context (or just any context where you aren't already authenticated). It should 
send you back to the login page, then after logging in that should take you to 
the servers table with the search field set to the string "text".
   
   ## If this is a bugfix, which Traffic Control versions contained the bug?
   - master
   
   ## PR submission checklist
   - [x] This PR uses existing tests
   - [x] This PR doesn't need documentation
   - [x] This PR doesn't need a CHANGELOG.md entry
   - [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY**


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to