• Nice plugin! One issue I discovered is when you call get_headers in the FileSizeOf function in functions.php, the Content-Length and Content-Type are misreported for file names (on Windows OS) that have spaces in them. And the HTTP response code is 404 rather than 200. Renaming the file to something without spaces and re-uploading solves the problem.

    Just an FYI. You might want to account for this when the file information is being generated to the page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thanks markcorgan!
    I’m working hard to make this plugin stable. I need yours support and yours reports.
    I’ll fix this!

    Thread Starter researchables

    (@markcorgan)

    toriphes, I downloaded 1.0 beta 2 version and the file spaces issue mentioned above doesn’t appear to be fixed. I think is just as simple as replacing spaces with “_” when a file with spaces in its name is uploaded. Any chance you could incorporate the fix in the next release?

    Thanks again for the cool plugin. It’s much easier to install and configure than several others I’ve tried.

    I haven’t this problem.
    mmm let me think…. may I see a screenshot?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘get_headers mis-reporting file information’ is closed to new replies.