Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] website_require_login: Login page recursion #1043

Open
wants to merge 3 commits into
base: 16.0
Choose a base branch
from

Conversation

SirAionTech
Copy link

Steps:

  1. Go to Website > Configuration > Authorization required URLs
  2. Create the path "/"
  3. Logout
  4. Access "<your_url>/"

Actual behavior
image
Error ERR_TOO_MANY_REDIRECTS

Expected behavior
Be redirected to the login page

@SirAionTech SirAionTech marked this pull request as ready for review June 11, 2024 14:02
@SirAionTech SirAionTech force-pushed the 16.0-fix-website_require_login-recursion branch 3 times, most recently from 69e8a01 to 28581b8 Compare June 11, 2024 15:16
@SirAionTech SirAionTech force-pushed the 16.0-fix-website_require_login-recursion branch from 28581b8 to 1aea93d Compare August 5, 2024 10:02
Also create only one instance of Path(path)
If one of the parents of /web/login is requested for login, infinite redirection loop starts
JSON/XML RPC should not be redirected to login.
@SirAionTech SirAionTech force-pushed the 16.0-fix-website_require_login-recursion branch from 1aea93d to 958f802 Compare August 6, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant