fileupload element and persian character problem

samani

Member
hi
i use persian character for name of some files in my pc and when i upload through fileupload element , it is replaced with _ character in my server. how to solve it?
 
Under the main Options, "Clean Filename". As per the tooltip:

The default behavior for filenames is that Fabrik replaces all non alphanumeric characters (A-Z, a-z, 0-9) except - and _ with _. This prevents problems with OS's and filesystems which don't support multibyte character sets, or disallow certain characters. If you need to use Unicode names, set this to No, but be aware this may result in unusable filenames.

Note that in addition to Fabrik's "cleaning", we always run names through J!'s JPath::clean(), which handles slashes, so even if you turn off our cleaning, you are protected from attacks that uses relative paths as names. But as per the tooltip, be aware that there may still be characters which your OS or file system doesn't like.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top