Show a 404 on the front end when viewing a draft object URL

Description

The old behaviour of redirecting drafts to the webtop login is being deprecated. A draft object should instead show a 404 because for all intents and purposes the object does not exist as far as an anonymous user is concerned. (Links in emails to approve a draft pages already go directly to the webtop so these should be unaffected).

The 404 should also not be cached by the proxy, so that if the URL is hit prior to the page being approved, the page will be visible immediately without requiring a flush/invalidation in the proxy.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created June 10, 2016 at 1:04 AM
Updated June 10, 2016 at 2:27 AM
Resolved June 10, 2016 at 2:27 AM