Keep server disk filename same as Original upload filename

More
11 years 1 week ago #52368 by ggppdk
Hello

inside plugin file

plugins/flexicontent_fields/file.php

we have:

$abspath = str_replace(DS, '/', JPath::clean($basePath.DS.$file_data->filename));


thus the UTF-8 filename is damaged

you can try replacing it with:
$abspath = str_replace(DS, '/', $basePath.DS.$file_data->filename);


and test, still will need to add extra checks for filename to avoid security issues,

so your hack in helper upload functions, even if they work, we can not say if they are safe


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save