[ ijbswa-Feature Requests-3600977 ] Add add-server-header
SourceForge.net <[email protected]>
| Newsgroups | gmane.comp.web.privoxy.devel |
|---|---|
| Message-ID | <[email protected]> |
Feature Requests item #3600977, was opened at 2013-01-15 06:32
Message generated for change (Comment added) made by fabiankeil
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=361118&aid=3600977&group_id=11118
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Configuration
Group: version 3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kai Raven (kairaven)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add add-server-header
Initial Comment:
Add add-server-header action for server responses like "add-header" for client requests, to do something like
+add-server-header{X-Frame-Options: SAMEORIGIN}
Otherwise the user must always modify an existing server header with SERVER-HEADER-FILTER in 3.0.19(?)
----------------------------------------------------------------------
>Comment By: Fabian Keil (fabiankeil)
Date: 2013-01-15 08:31
Message:
Thanks for the suggestion.
I agree that having a +add-server-header{} action wouldn't hurt but don't
consider it a priority.
Note that header filters can already add headers by using \r\n in the
replacement text:
SERVER-HEADER-FILTER: add-x-frame-options Inject an X-Frame-Options server
header
s@^HTTP.*@$0\r\nX-Frame-Options: SAMEORIGIN@
As far as Privoxy is concerned it's a header modification, but from the
client's point of view it's a new header.
BTW, I briefly tested the filter and the most noticeable effect of adding
the header to all responses seems to be that Firefox quickly gets killed
after running out of swap space ...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=361118&aid=3600977&group_id=11118
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512