Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

LoadFromFile should convert %20 to space in URLs #332

@GoogleCodeExporter

Description

@GoogleCodeExporter
From Hans van Eijsden:

When I enable ModPagespeedLoadFromFile, I get a lot of errors in my Apache 
error log.

My config rule: ModPagespeedLoadFromFile "http://www.weblogzwolle.nl/images/" 
"/home/weblogzwolle/www/images/"

I discovered, that the problematic URL's are the URL's with spaces in them or 
%20's. Although they exist for Apache and the browsers, they don't, of course, 
seem to exist for the file system.
Is there a way, to let mod_pagespeed rewrite %20's back to spaces, when reading 
directly from the file system via ModPagespeedLoadFromFile?
Unfortunately, I had to disable ModPagespeedLoadFromFile completely for now.

Thanks!

Here is a part of my Apache error log:

[Sat Aug 06 02:07:29 2011] [error] [mod_pagespeed 0.9.18.6-886 @12924] 
/home/weblogzwolle/www/images/stories/Brandweer/Tak%204.jpg:0: open input file 
(code=2 No such file or directory)
[Sat Aug 06 02:07:29 2011] [error] [mod_pagespeed 0.9.18.6-886 @12924] 
/home/weblogzwolle/www/images/stories/Brandweer/Tak%202.jpg:0: open input file 
(code=2 No such file or directory)

Original issue reported on code.google.com by sligocki@google.com on 8 Aug 2011 at 6:21

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions