URLs with encoded slashes do not work in AEM

Issue

In AEM 6.2, you are unable to create a project through the New Project wizard. It returns an unspecified error when selecting a project and clicking Next.  This only occurs via dispatcher and works fine in any other version of AEM.

Steps to reproduce the issue:

  1. Go to the projects screen in the touch UI (http://host:port/projects.html/content/projects)
  2. Click the blue Create button on the top right side of the screen and select Create Project
  3. Select the Translation Project
  4. Click the blue Next button on the top right side of the screen
  5. The error occurs: Error. Something went wrong.

Environment

AEM 6.2

Cause

The special characters in the URL are "double escaped" and causing the 404 error.

Resolution

This has been fixed in 6.3, however, there is no separate fix available for 6.2. As a workaround, configure Apache to allow encoded slashes in URLs, use the following directive:

AllowEncodedSlashes On

For example:

<VirtualHost *:80>
ServerName www.geometrixx-outdoors.com
AllowEncodedSlashes On
<Directory />
   <IfModule disp_apache2.c>
       SetHandler dispatcher-handler
   </IfModule>
    Options FollowSymLinks
    AllowOverride None
</Directory>
</VirtualHost>

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online