Characters allowed on CQ5 file name | Community
Skip to main content
October 16, 2015
Solved

Characters allowed on CQ5 file name

  • October 16, 2015
  • 3 replies
  • 1036 views

When uploading a file(an image to the dam folder as an example) on CQ5 using CRXDE lite or other UI interface, the system would give an error message if the file being uploaded has invalid characters.

I just found out that [ and ] are not allowed as part of file names.

But when uploading file using a non-UI interface, SlingPostServlet for example, the character [ gets replaced with the percent encoding representation(%5D) and no error gets generated.

Is there some kind of list/doc that would show which characters are not allowed in CQ5?

Using CQ5.4

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 Pawan-Gupta

I think the default allowed characters are alphabets (a-z A-Z), numbers (0-9), hyphens (-), and underscores (_) 

3 replies

Pawan-Gupta
Pawan-GuptaAccepted solution
Level 8
October 16, 2015

I think the default allowed characters are alphabets (a-z A-Z), numbers (0-9), hyphens (-), and underscores (_) 

smacdonald2008
Level 10
October 16, 2015
February 11, 2019

I found out even numeric characters are also allowed like I tried with "+" and
"-" characters and it has allowed me to upload the doc into my local.

Although this file is not getting opened in my project environments.

Please let me know if you got anything with regard to this.