When copying a page in Confluence Data Center, encounter an HTTP 400 Error

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When copying a page in Confluence Data Center, an HTTP 400 error occurs if any of the following characters are included in the page's content or header.

1 2 3 4 ../ ..\ .../ ...\

Environment

Confluence Data Center 8.5.11

Diagnosis

  • When the page title or content contains ../ or ..\ characters, attempting to copy that page results in an HTTP 400 error, as illustrated below.

    (Auto-migrated image: description temporarily unavailable)
  • The application logs will not contain any entries related to this error.

Cause

  • The issue seems to be caused by the dark feature editor.ajax.save.disable

    (Auto-migrated image: description temporarily unavailable)

Solution

To resolve the issue, please follow these steps:

  1. Navigate to the dark feature section by visiting the following URL: https://<Confluence_baseURL>/admin/darkfeatures.action.

  2. Find the "Site Dark Features" section.

  3. Click on "remove" next to the option labeled "editor.ajax.save.disable"

  4. You should now be able to copy the page successfully.

In case of further assistance please reach out to the Atlassian Support team and share the information that's been gathered so far along with a fresh Support zip file.

Updated on March 13, 2025

Still need help?

The Atlassian Community is here for you.