I’m using Agile Uploader in my project to resize image before upload on client side.
And it works fine except one thing: if image name contains cyrillic letters it fails with server error 500.
How to avoid this or if needed how to rename file with english letters "on fly" (possibly with javascript).
Thanks in advance!
Well… Agile Uploader, technically, doesn’t do what it says (and it’s not a very quality code to be honest…). It uses MultipartURLLoader to do it, which, in it’s turn is slightly better code, but… OK, I’m not saying you have to redo all that, but something you would like to fix, probably is the part of that file, the internal class FilePart, where it writes the file name it should do
escapeMultibytethe name, because the code writes it as UTF-8, but declares the headers as single-byte.