![]() |
Logging in is failing from the home page (it POSTs to /default.php). Logging in is working from the /account/ page; it POSTs to /account/default.php.
I know this has broken the mfloop.py submission script. It may have broken others that try to POST credentials to /default.php, like the homepage does. The homepage login stopped working between 00:00 and 01:11 EDT last night. |
For those using the mfloop.py script, I've got a fix in my fork: [url]https://github.com/MarkRose/primetools[/url]
|
[QUOTE=Mark Rose;382024]Logging in is failing from the home page[/QUOTE]Logging in/out should remain on whatever page you're on (previously it always sent you to the home page even if you weren't there before you logged in).
Interestingly both logging in and out are currently not working on the home page, but work elsewhere. I'll take a look. |
[QUOTE=James Heinrich;382027]Interestingly both logging in and out are currently not working on the home page, but work elsewhere. I'll take a look.[/QUOTE]I think I found the cause of the bug in a (supposedly) unrelated modification that [i]madpoo[/i] recently implemented. When I hear back from him we should have it fixed. If it is what I think it is. :smile:
|
Login is also now broken on /account/ .
|
[QUOTE=Mark Rose;382034]Login is also now broken on /account/ .[/QUOTE]It would be the same root cause, just implemented wider. I have asked [i]madpoo[/i] to revert that change for now until we can decide how to implement it better.
|
I have made a change that should allow logged in and out again for now.
|
I was about to post that manual result submission was broken, but it started working again on my last try. :smile:
|
[QUOTE=James Heinrich;382037]I have made a change that should allow logged in and out again for now.[/QUOTE]
It *was* me! :poop: I added a canonicalizing rule to take all those */default.php and redirect to */ which is the same thing for any GET. And bad me, I didn't test beyond whether the page itself loads since I didn't consider how the login or anything else might be POST'ing to /default.php instead of / Sorry... canonicalizing is good (I've had an eyeful of some of the strange URLs people try to hit on the server) but not if it breaks things. Mostly I've been going through the 404's the server spits out and fixing them up so that old bookmarked or linked pages actually go where they need to, or at least something more useful than a 404. Many of those are just legacy URLs from back in the day, v4 and earlier. URLs that were abandoned and hadn't been remapped anywhere. |
It would probably work if you 307 redirected the request, parameters, post data, and all.
|
1 Attachment(s)
Here's the latest I got from P95 trying to call home:
|
| All times are UTC. The time now is 23:05. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.