I have the same error message when calling the Clean Up HTML and the Insert Hyperlink module. I don't provide the possibility to upload Flash so I cannot tell if I have the same error.
The image gallery has only 4 pictures with normal file names like "Kansas.jpg".
I do not have that error when clicking on the simplified "Insert Image" function.
Thanks for your help.