Page returns a 404 if it is nested under a structure group with (brackets) in the directory name
Hi,
If I have a StructureGroup that has parenthesis in the directory name, then all the published pages nested inside it return 404 Page Not Found.
Example url to replicate this issue: /level(0-1)/level2/page.html
Can you provide some more details, like how is the path stored in the broker database for the page and what does the web server access log report?
I found a possibly related issue. The navigation.json does not seem to handle parenthesis very well. The URL of the structure groups shows the parenthesis correctly, on pages the parenthesis are encoded as %28 and %29.
{
Id: "tcm:63-10716-4",
Title: "About us",
Url: "/about-(us)",
Type: "StructureGroup",
Items: [ {
Id: "tcm:63-9538-64",
Title: "Example",
Url: "/about-%28us%29/index",
Type: "Page",
Items: [],
PublishedDate: "2016-10-21T17:10:14.000+0000",
Visible: false
},
{
Id: "tcm:63-10717-4",
Title: "More about us",
Url: "/about-(us)/more",
Type: "StructureGroup",
Items: [ ],
Visible: false
},
TSI-2084 (internal issue ID for tracking purposes)