Re: [Evolution] Evolution changes file names of attachments (underscores instead of spaces)

On Thu, 2020-10-29 at 08:50 -0500, Japhering, Anonymous via evolution-
list wrote:
On Thu, 2020-10-29 at 12:16 +0100, theapplepie differentmail com
evolution: 3.36.4-0ubuntu1
When storing attachments, their names will be changed!
Example: original:>one two three.jpg<, new:>one_two_three.jpg<
All empty fields will be changed in underlines.
What can I do?
I'm sure someone will correct me, but  space ( as well as a host of
others ) in filenames are a pain in the arse on 
any Unix based (Unix, AIX, Linux, BSD) based OS, which means it takes
lots of special code to handle.  Translation 

I will correct you - I develop ETL & WebDAV stuff - filenames with
spaces and "special" characters are not a problem on UNIX systems.  Not
at all.

They can be a real annoyance for things like shell scripts which
manipulate files based on name AND assume characters have meaning.  
They aren't a problem anywhere else [ just stop writing shell scripts

of "special"  characters like  spaces, &, *, etc  is a simple
operation which eliminates lots code ( and therefore lots 
of bugs )


Additionally,  if you try to handle  one two three.jpg  from the
command line,  you will have to resort to quoting or 
regular expression matching to access the file. 

If you aren't quoting filenames you have a serious security problem.   

On modern systems tab completion will do this for you.

On the other hand, I don't have any issues with Evolution changing the
filename.  What's that sensitive to filenames?  Technically, however,
the client shouldn't manipulate the payload of the message.

Adam Tauno Williams <mailto:awilliam whitemice org> GPG D95ED383
OpenGroupware Developer <>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]