Space in file names is no longer re-written when uploading

More
5 years 2 months ago - 5 years 2 months ago #79564 by agata
Hello,
FC used to re-write file names upon upload (like replace spaces with -, remove special characters, etc) but this is no longer happening. Could someone please take a look?
Best,
Agata
Last edit: 5 years 2 months ago by ggppdk.

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

More
5 years 2 months ago - 5 years 2 months ago #79567 by micker
hello
1 check option in your field
2 can say the flexicontent version ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]
Last edit: 5 years 2 months ago by ggppdk.

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

More
5 years 2 months ago - 5 years 2 months ago #79568 by agata
Hello,
What option would that be exactly? It used to work globally and never required any configuration. Besides, I tested this by uploading in Files directly and it didn't rewrite the file name either.
The FC version is latest (3.3.9) and so is Joomla.
Best,
Agata
Last edit: 5 years 2 months ago by ggppdk.

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

More
5 years 2 months ago - 5 years 2 months ago #79575 by ggppdk
Hello

there has been a change to allow more characters,
allowing utf8 filenames (but this was done in master branch only (? i must check) for next version)

which characters are not rewritten, but they should be re-written ?


-- 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!
Last edit: 5 years 2 months ago by ggppdk.

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

More
5 years 2 months ago - 5 years 2 months ago #79579 by agata
Hello,
Spaces aren't being rewritten.
Thanks,
Agata
Last edit: 5 years 2 months ago by ggppdk.

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

More
5 years 2 months ago - 5 years 2 months ago #79581 by ggppdk
Hello

spaces are now allowed


-- 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!
Last edit: 5 years 2 months ago by ggppdk.

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

More
5 years 2 months ago - 5 years 2 months ago #79582 by agata
Hello,
Does this mean you're not going to be rewriting spaces to - or is there a new release I failed to find that fixes this? Latest release on Github is from October.
Best,
Agata
Last edit: 5 years 2 months ago by ggppdk.

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

More
5 years 2 months ago #79587 by ggppdk
Hello

yes allowing spaces was intentional
do you use these in some custom code ?

you should encode filename in URLs always


-- 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.

More
5 years 2 months ago #79591 by agata
Hello,
Since the filenames used to be rewritten I wasn't URL encoding every image. It does break things with responsive images as image paths aren't always wrapped in quote marks and then new images ended up falling back on the smallest size. Spaces being rewritten is standard in Joomla itself (and Wordpress too) and I don't quite see the purpose of introducing a breaking change like this, could this at least be an option in configuration to turn rewriting spaces and other special characters on and off?
Best,
Agata

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

More
5 years 1 month ago #79607 by ggppdk
Hello

i will review this

you are uploading via image - gallery field and the field's display is broken or you are using the filenames in custom code ?


-- 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