Page Tree Search macro incorrectly encodes ancestorIds colon

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

Problem

When doing a search in the pagetreesearch macro, the colon ":" in ancestorIds: is encoded to %3A, as in the following screenshot:

(Auto-migrated image: description temporarily unavailable)

Cause

One possible cause is the usage of normal HTTP proxy instead of AJP13.

Resolution

Ensure that Confluence is using the AJP13 protocol by adding the parameter protocol="AJP/1.3" into the <Connector ... /> tag in <confluence-install-directory>/conf/server.xml.

For more information on how to configure proxy for mod_jk, please refer to Using Apache with mod_jk.

Updated on April 16, 2025

Still need help?

The Atlassian Community is here for you.