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

쉽고 빠르게 지원 받기

신규 사용자이신가요?

Adobe MAX 2024

Adobe MAX
크리에이티비티 컨퍼런스

10월 14~16일 마이애미 비치 및 온라인

Adobe MAX

크리에이티비티 컨퍼런스

10월 14~16일 마이애미 비치 및 온라인

Adobe MAX 2024

Adobe MAX
크리에이티비티 컨퍼런스

10월 14~16일 마이애미 비치 및 온라인

Adobe MAX

크리에이티비티 컨퍼런스

10월 14~16일 마이애미 비치 및 온라인