View unanswered posts | View active topics It is currently Thu Mar 28, 2024 12:33 pm



← Back to the Calcudoku puzzle page




Reply to topic  [ 1 post ] 
 Language conflict causes redirect to index page 
Author Message

Posted on: Sat Feb 06, 2021 3:10 am




Posts: 54
Location: /RU/MSK
Joined: Fri May 13, 2011 12:29 pm
 Language conflict causes redirect to index page
I've stumbled upon a weird bug.
If my default language is set to X, but I open a page with language Y (e.g. by manually editing the address bar), it opens the desired page for a second and then redirects me to index page with language X.
Yesterday I learned it the hard way, by losing two timed puzzles.
But here's how you could possibly reproduce it without losing anything:

1. Go to calcudoku.org and switch the language to Russian by clicking the appropriate flag.
2. Go to https://www.calcudoku.org/bonus/de
3. You will be redirected to https://www.calcudoku.org/ru

On step 2, you could also try going to…
https://www.calcudoku.org/it/2021-01-26/extra
https://www.calcudoku.org/en/2021-02-06/6/3
…and it would still redirect you.

This seems to work with any language pair. And I can't understand why. I mean, the expected behavior would be: 1) opening the page with language Y, and 2) either setting Y as the new default language or not. Definitely not 3) if X ≠ Y go to index [confused]

P.S. This is not just one browser's cookie issue; I've tested it on two devices: under desktop Firefox and mobile Chrome.

_________________
If life is a game, where are the cheat codes?


Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
All forum contents © Patrick Min, and by the post authors.

Forum software phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.