djangocms-versioning icon indicating copy to clipboard operation
djangocms-versioning copied to clipboard

[bug] Insecure redirect after publishing etc.

Open fsbraun opened this issue 6 months ago • 0 comments

djangocms-versioning implements a set of redirects after a version state change, e.g., redirect to the published version after publishing.

Depending on the site setup, those redirects might fail, e.g. when publishing a child page of an app hooked page. The app hook "swallows" all URLs below its own, and a redirect to the just published page fails with a 404.

djangocms-versioning should first check, if the redirect URLs are reversible and, if not, implement a fallback solution.

fsbraun avatar Aug 23 '24 14:08 fsbraun