New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backend preview URL does not work #5582
Comments
I was not able to reproduce this with Contao 5.0.7 For a request to |
Hm, I can reproduce it in 5.0.7 and 5.0.x-dev. |
It's an issue that only occurs under Windows, presumably. The cause is this line: contao/core-bundle/contao/models/PageModel.php Line 1174 in 0941be9
|
My bad, I changed this here: #4326 🙈 |
Closing in favor of #5585 |
Affected version(s)
5.0.7, 5.0.x-dev
Description
If you open the preview from the back end, i.e. via an URL like
then the resulting redirect response URL will be
which will lead to a 404 response.
For some reason this call in
PageModel::getPreviewUrl
contao/core-bundle/contao/models/PageModel.php
Line 1180 in 0941be9
results in such an aforementioned URL (with the first slash "escaped").
/cc @aschempp
The text was updated successfully, but these errors were encountered: