djangocms-versioning
djangocms-versioning copied to clipboard
[bug] Insecure redirect after publishing etc.
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.