Closed Bug 1708970 Opened 5 years ago Closed 4 years ago

"view-source:" should not send "Pragma" request-header

Categories

(Toolkit :: View Source, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: moz, Unassigned)

Details

Firefox should not send Pragma header with view-souce requests, that's out of date and no browser does it.

Background:
Something like this is pretty effective in filtering some kind of spammers - it excludes Firefox view-source requests as well

<elseif "req_novary('Pragma') !=''  &&   ... ...">
  RewriteRule . - [F]
</elseif>

Try view-source here (needs reload):
http://bedienungsanleitung.elektronotdienst-nuernberg.de/impedanz.html

Summary: "view-source:" should not send "Pragma" request-header → "view-source:" should not send "Pragma" request-header (spam filter blocks Firefox)
Component: Networking → View Source
Product: Core → Toolkit

Hmm, Chrome is just different in caching here:
Pressing F5 on Windows doesn't really reload in the given example. On other sites it does, and the result is the same as in Firefox.
So this bug might be invalid (besides the question for the need for that header).

Summary: "view-source:" should not send "Pragma" request-header (spam filter blocks Firefox) → "view-source:" should not send "Pragma" request-header

(In reply to j.j. from comment #0)

... and no browser does it

That's not true -> INVALID

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.