Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

Dispatcher redirect failing due to single quote

Avatar

Level 2

Hi All,

 

The redirects are being managed via ACS Commons redirect manager.

However for a few french files having single quote in the name , the redirect seems to be failing due to a %27 coming up in the url . Is there a way to escape the %27 in the url? 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@binoyp73053411 Can you let us know where the %27 value in configured ? Source URL or Destination URL ?

Also can you share the redirect rule how you have configured ?

You can try to add "NE" flag in your redirectmap configuration in the dispatcher file.

Using the [NE] flag prevents the special characters will be converted to their hexcode equivalent.

 

Regards,

Raja

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@binoyp73053411 Can you let us know where the %27 value in configured ? Source URL or Destination URL ?

Also can you share the redirect rule how you have configured ?

You can try to add "NE" flag in your redirectmap configuration in the dispatcher file.

Using the [NE] flag prevents the special characters will be converted to their hexcode equivalent.

 

Regards,

Raja

Avatar

Level 2

It is in the source url @Raja-kp . We do not have any difficulties if it comes up in the destination url. This occurs only if the source url has the accented french characters or %27