Can we change the allowed special character in assets name settings? | Community
Skip to main content
New Participant
September 29, 2022
Solved

Can we change the allowed special character in assets name settings?

  • September 29, 2022
  • 1 reply
  • 845 views

Hi Can we change this not allowed characters in assets name ?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

This is not encoding but sling resources mapping

https://sling.apache.org/documentation/the-sling-engine/mappings-for-resource-resolution.html#namespace-mangling 

 

1 reply

Employee
September 29, 2022

You may check : /libs/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js

You may weneed to overlay the above node (fileupload.js) and make the required changes in it.

Changes to be made in overlay location (/apps/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js):

 

New Participant
September 30, 2022

HI @digarg17 

Do you know which is url encoding technique used by aem.

Ex. If our file name is "jcr:content" 

But the encoded path of this file is 

http://localhost:4503/editor.html/content/dam/specialcharacters/jcr-content

then to encode this jcr:content to jcr-content which is the ecoding technique used by aem.

 

arunpatidar
arunpatidarAccepted solution
New Participant
September 30, 2022