Jump to content
chuckymendoza

Error when uploading files containing © symbol in file name

Recommended Posts

A client of me got an error in PW 3.0.98 while uploading images that contain a © in the filename.
Any clues how I could filter this in the backend of PW to avoid this?

 

Thanks,
Thomas

Share this post


Link to post
Share on other sites

What kind of error? What did it say?

Just tried to upload files with © in it and... well it worked as expected. The © was translated to c.

729904752_2019-06-1811_59_45.png.3c3e3db766dc305b08e1078694843f81.png

1872268482_2019-06-1811_59_36.thumb.png.7cf44f38a35554e66f434807bcef6e4f.png

 

In this case I'm using ProcessWire 3.0.123.

Update: tried it on a 3.0.98 now and even there it works without problems.

 

Share this post


Link to post
Share on other sites

I believe it has something to do with the server.
My local copy of the site (3.0.98) translated the © into a c, too.
There isn’t any explaining error message, just „invalid image“ (see German screenshot).

When I remove the © from the filename it’s uploaded without any error.
I also tried other filenames containing Umlauts like ä or special symbols like @ – this works.
A symbol like the „Registered Mark“ ® produces the same error like the ©.

It’s not a big thing, my client can rename the files, but it would be nice to know why this happens only to this kind of letters.

Strange.

Bildschirmfoto 2019-06-18 um 12.53.57.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...