Bug in media uploader: filenames containing %20 does not get sanitized
|Reported by:||chriswoodley||Owned by:|
On my server, I uploaded a file with a space in the filename and WordPress or Gravity Forms made it safe by converting the space into a hyphen, like a permalink. That image I could download just fine.
I then uploaded a file with a %20 in the filename (instead of the space) and that filename was left alone, and stored on the server with that name (with the %20 in it) and I could not access that file by URL with or without the %20 in it (either with a space or a %20.)
Then I uploaded an image with the WordPress media manager with the %20 in the filename, and it too is not accessible by URL with the %20 in it. It appears that WordPress does not convert the %20.