diff --git a/control/VersionedRequestFilter.php b/control/VersionedRequestFilter.php index ea7b277e5..40b1b05a8 100644 --- a/control/VersionedRequestFilter.php +++ b/control/VersionedRequestFilter.php @@ -23,7 +23,7 @@ class VersionedRequestFilter implements RequestFilter { 'You must log in with your CMS password in order to view the draft or archived content. '. 'Click here to go back to the published site.' ), - Controller::join_links(Director::baseURL(), $request->getURL(), "?stage=Live") + Convert::raw2xml(Controller::join_links(Director::baseURL(), $request->getURL(), "?stage=Live")) ); // Force output since RequestFilter::preRequest doesn't support response overriding