-
-
Notifications
You must be signed in to change notification settings - Fork 213
Redirect loop after update to 3.5.18 #8560
Comments
|
Can you make a copy of the installation available for debugging? |
|
Btw. are you sure all the redirects from the redirect loop are coming from Contao? Because you mentioned that the status code is |
|
No, see line 362. |
|
My bad, was looking at the wrong lines. You can probably solve your infinite redirect loop by giving your start page the alias |
|
How do I reproduce the issue with a fresh installation and the Contao Official Demo? |
|
I'll provide a link to an SQL dump later in the day. |
|
A complete copy would be needed, not just an SQL dump. |
|
Need more time, music_academy.sql is not a part of the LTS download archive anymore (which I expected). |
|
The problem only occurs because the page alias of our home page is |
|
One approach of course would be to change the alias. |
|
Having an alias like Regarding fixing it: I am not sure if it makes a lot of sense to accommodate such a special case. |
|
I agree with the first part. But BC breaks are not nice and might happen to other people as well. It as allowed behaviour, it should stay allowed behaviour. |
|
I had the same problem today. Deleting the following line from my personally adapted .htaccess solved the problem: |
|
@seaneble Can you please post your |
|
|
So your alias is |
|
Was. The diff is the other way around. Alias is empty. |
|
@leofeyer seaneble's issue is fixed now anyway. The problem was, that he used |
|
Using |
|
I agree with the fact that '/' never was a good idea. Nevertheless, people (at least we) did use it in some projects. The complete site was broken after a maintenance update, which should not happen. Perhaps one could include a migration step to change the alias from / to empty in Contao 3.5.19? |
|
I'm still trying to reproduce your setup, which I cannot as long as you are not providing the necessary details (such as the current |
|
The reproduction steps are:
Then open |
|
Thank you @fritzmg, I was able to reproduce the issue now. This is actually a quirk of the I could hardcode a fix for this specific case, but I don't know if I should. @contao/developers /cc |
|
I was going to provide a zip of the Music Academy with broken settings today, but thanks to @fritzmg that is superfluous now. Great! |
|
Today I run into the same problem after upgrading Contao. Please implement the mentioned fix at least for 3.5.x because it is a very bad experience when updating a LTS version and you notice that your start page doesn't work anymore. |
|
Fixed in b565df6. |
* Correctly handle nested public folders when symlinking a folder. * Correctly handle SVGZ files in the file manager (see contao/core#8624). * Prevent an endless redirect loop if the page alias is "/" (see contao/core#8560). * Correctly parse German dates with two digit years in MooTools (see contao/core#8593). * Correctly add new resources to the user/group permissions (see contao/core#8583). * Trigger the auto-submit function in the date picker (see contao/core#8603). * Call the load callback when loading page/file picker nodes (see contao/core#7702).
We upgraded an installation from 3.5.17 to 3.5.18. The frontend is not reachable afterwards, accessing the home page returns code 302 redirecting to the same page over and over again.
Some analysis was possible before downgrading again (not too much because of the downtime).
The redirect is not related to any .htaccess magic (renamed for testing). The redirect comes from Contao (Cookie headers are also present in the HTTP response).
It does not seem to be related to #8547, because we don't have any PageRedirect pages in our tree.
It also does not seem to be related to #8552, because the error pages do not redirect in our setup, they are plain error pages with actual error messages.
Next step for us would be to try this in a testing environment. For the time being, I cannot recommend updating.
The text was updated successfully, but these errors were encountered: