[ ijbswa-Actionsfile feedback-3615179 ] Overblocking of "close as duplicate" pop-Stackexchange sites

SourceForge.net <[email protected]> Wed, 06 Nov 2013 08:36:13 -0800
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
Actionsfile feedback item #3615179, was opened at 2013-11-03 14:43
Message generated for change (Comment added) made by fabiankeil
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=460288&aid=3615179&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: filter: popups-incorrectly blo
Group: current actionsfile
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: David Wagner (daw617)
>Assigned to: Fabian Keil (fabiankeil)
Summary: Overblocking of "close as duplicate" pop-Stackexchange sites

Initial Comment:
Privoxy currently blocks some legitimate pop-ups on Stackexchange sites.  If you're logged in to those sites and have privileges and click "close", then try to close as a duplicate, Privoxy will block a legitimate AJAX request.  This will be hard for you to reproduce unless you happen to have an account on those sites and have accumulated enough reputation to close (which most users won't have).

The legitimate request is to a URL like

http://cs.stackexchange.com/posts/popup/close/suggest-originals/16678?_=1383517814677

except that the domain name might vary, depending upon which Stackexchange site you're using.

Troubleshooting suggests that it's the following rule from default.action that is causing the over-blocking:

{+block{Path matches generic block pattern.} }
/(.*/)?(full)?pop[-_]?(up|over|under|open(er)?)?s?(/|\.)

I fixed this by adding the following rule to my user.actions:

{ -block{Path matches generic block pattern.} }
.stackexchange.com/(.*/)?popup
.stackoverflow.com/(.*/)?popup
.serverfault.com/(.*/)?popup
.superuser.com/(.*/)?popup

I suggest adding something like that to your default actionsfile.

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

>Comment By: Fabian Keil (fabiankeil)
Date: 2013-11-06 08:36

Message:
Thanks for the report. Fixed in CVS.

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

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

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk