Real name system - an edge case which causes infinite redirection
Problem to solve
Resolving the infinite redirection issue
Steps to reproduce.
- Turn off
real_name_system
feature flag. - Register a new user (but not login yet)
- Turn on
real_name_system
feature flag. - Login to the application.
- Observe
What happened
The page will be redirected from /users/new/welcome
to /users/terms
, back and forth. Thus creates a infinite redirection loop.
Proposal
由 Qian Zhang (Gary) 编辑于