Expand my Community achievements bar.

SOLVED

Characters allowed on CQ5 file name

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Level 9

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

View solution in original post

3 Replies

Avatar

Correct answer by
Level 9

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

Avatar

Level 1

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.