Expand my Community achievements bar.

SOLVED

org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "%2"

Avatar

Level 1

Hi All,

Need your advise, I'm trying to use % in customised AEM component and it's returning an error message.

Any help will be appreciated!

Steps taken

Using % in customised AEM component's headline and page is returning an error, please refer below (Error Message).

Error Message

org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "%2"

Thank You

1 Accepted Solution

Avatar

Correct answer by
Level 7

Hi,

I think that you are using a characters which is not allowed.

Please have a look on the following documentation where you can find info about:

- Allowed characters for page title [0]

- How to force usage of special character [1]

[0] Naming Conventions

[1] Adobe Experience Manager Help | Posting Special Characters to Adobe Experience Manager 

Let us know.

Thanks,

Antonio

View solution in original post

2 Replies

Avatar

Correct answer by
Level 7

Hi,

I think that you are using a characters which is not allowed.

Please have a look on the following documentation where you can find info about:

- Allowed characters for page title [0]

- How to force usage of special character [1]

[0] Naming Conventions

[1] Adobe Experience Manager Help | Posting Special Characters to Adobe Experience Manager 

Let us know.

Thanks,

Antonio

Avatar

Level 1

Hi Antonio,

Apologise for late in response, I have shared your article with my team and pending their assistant to look into it.

Thank you for your respond!