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
Solved! Go to Solution.
Views
Replies
Total Likes
I think the default allowed characters are alphabets (a-z A-Z), numbers (0-9), hyphens (-), and underscores (_)
Views
Replies
Total Likes
I think the default allowed characters are alphabets (a-z A-Z), numbers (0-9), hyphens (-), and underscores (_)
Views
Replies
Total Likes
WHen using Java -- here is a good thread: http://stackoverflow.com/questions/1184176/how-can-i-safely-encode-a-string-in-java-to-use-as-a-file....
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies