Repository navigation
GH Issue 1930: Fix terms of use redirect loop in admin-only mode - #8394
Merged
labkey-adam merged 1 commit intoNov 29, 2026
Merged
Conversation
Actions allowed during upgrade now also skip terms of use enforcement, so the maintenance page no longer redirects to agreeToTerms.
labkey-jeckels
approved these changes
Nov 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
Fix the endless redirect loop that makes a server unreachable when mandatory site-wide terms of use are enabled while the server is in admin-only mode (GH Issue 1930). The maintenance page enforced terms of use while the terms page wasn't allowed during admin-only mode, so guests and non-admins bounced between the two with an ever-growing
returnUrluntil requests exceeded the header size limit. A regression test will follow on 26.11 once this merges forward, since that branch has the site settings API needed to toggle admin-only mode cleanly.Related Pull Requests
Changes