Skip to content

Fix redirect loop when TZ=UTC#593

Closed
Gunni wants to merge 1 commit intorajnandan1:mainfrom
Gunni:utc-is-a-valid-tz
Closed

Fix redirect loop when TZ=UTC#593
Gunni wants to merge 1 commit intorajnandan1:mainfrom
Gunni:utc-is-a-valid-tz

Conversation

@Gunni
Copy link

@Gunni Gunni commented Feb 19, 2026

If the system TZ IS UTC then this code caused a permanent redirect loop.

Also, if the users timezone is set to UTC then the page refreshes forever.

Fixes: #592

@Gunni Gunni force-pushed the utc-is-a-valid-tz branch from 68cbaba to 96b84b6 Compare February 20, 2026 10:48
If either the system or user has their timezone set to `UTC` then this
bit of code always sends them to update their timezone, making the
website refresh forever.

Fixes: rajnandan1#592
@Gunni Gunni force-pushed the utc-is-a-valid-tz branch from 96b84b6 to 2676841 Compare February 20, 2026 10:49
@rajnandan1
Copy link
Owner

the cookie setting is now client side, so declining. thanks for taking your time for this

@rajnandan1 rajnandan1 closed this Feb 24, 2026
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.

If TZ is set to UTC then user gets an infinite refresh loop

2 participants