[ ijbswa-Bugs-3599335 ] Duplicated Content-Type headers removed w/o filtering

SourceForge.net <[email protected]>
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
Bugs item #3599335, was opened at 2013-01-03 07:43
Message generated for change (Comment added) made by fabiankeil
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111118&aid=3599335&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: funct: header manipulation
>Group: version 3.0.19
Status: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Fabian Keil (fabiankeil)
Summary: Duplicated Content-Type headers removed w/o filtering

Initial Comment:
Hi,

I need a solution how can i full disable any filters in privoxy.
I am using it on my router with OpenWrt:
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="Attitude Adjustment"
DISTRIB_REVISION="r33883"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Attitude Adjustment 12.09-beta2"
Version: 12.09-beta2

I don't need any filters, just a clear proxy, because it has a small RAM.
I disabled all options in config file, unfortunately, it continues to filter a content, and i see follow in logs:
2013-01-03 19:37:21.384 768c1530 Error: Multiple Content-Type headers. Removing and ignoring: 'Content-Type: text/html; charset=utf-8'
2013-01-03 19:37:21.402 764c1530 Error: Multiple Content-Type headers. Removing and ignoring: 'Content-Type: text/html; charset=utf-8'

Also some scripts are not working through privoxy as well.


----------------------------------------------------------------------

>Comment By: Fabian Keil (fabiankeil)
Date: 2013-01-04 04:38

Message:
Not that it matters, but the next release will actually be 3.0.20 beta.

----------------------------------------------------------------------

Comment By: Fabian Keil (fabiankeil)
Date: 2013-01-04 04:36

Message:
Thanks for the report.

Removing duplicated Content-Type headers even when no content filters are
enabled is a bug and is fixed in CVS now.

Having said that, it's unlikely to cause any problems with scripts and
shouldn't measurable affect the RAM usage. In fact, Privoxy will likely
require a few bytes of memory more now ...

Analyzing why "some scripts are not working through privoxy" would require
a proper log file as described in:
http://www.privoxy.org/user-manual/contact.html#CONTACT-BUGS

You could optimistically compile from CVS or wait for Privoxy 3.0.21 beta
which is supposed to be released in a couple of weeks and will contain the
fix for the superfluous header removal, but I doubt that the issues are
related.

In general it might also be worth evaluating if using Polipo instead of
Privoxy wouldn't be a better fit for your use case.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111118&aid=3599335&group_id=11118

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ 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_122812
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.