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.

meta refresh tags within NOSCRIPT tags get converted to HTTP headers even when javascript is enabled #372

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Enabled convert_meta_tags filter (enabled by default)
2. Include this HTML in page X:
<noscript>
        <meta http-equiv="refresh" content="0;url=/PleaseEnableJavascript">
</noscript>
3. Fetch the page with mod_pagespeed enabled.

What is the expected output? What do you see instead?

If javascript is enabled in my browser, I expect to see my page X.  Instead
I get redirected to PleaseEnableJavscript.

mod_pagespeed is converting the meta refresh to an HTTP header in all cases (is 
ignoring the fact that the meta refresh occurs within a NOSCRIPT tag).


What version of the product are you using (please check X-Mod-Pagespeed
header)?

0.10.19.5-1253


On what operating system?

Linux.

Which version of Apache?

2.2.14


Which MPM?

Prefork.


Original issue reported on code.google.com by ja...@peaceworks.ca on 23 Jan 2012 at 6:34

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions