[Privoxy-devel] PATCH for pcre2 support

Gagan Sidhu broly at mac.com
Sun Jun 18 16:44:35 CEST 2023


test 17, i assume? since after i ran the program with your change, i had one failed test:

i added the lines you have given below after 

> # Blocked URL = https://ups.xplosion.de/ctx?event_id=ctx_json&_sid=24141&hostSiteUrl=https://www.presseportal.de/blaulicht/pm/12415/5302821&referrer=&userAgent=Mozilla/5.0%20(X11;%20FreeBSD%20amd64;%20rv:91.0)%20Gecko/20100101%20Firefox/91.0&userLang=en-CA&gdpr=1&gdpr_consent=[...]
> ups.xplosion.de/
> 

in default.action.

i still only get one error:

> GagansMacPro:privoxy Gagan$ tools/privoxy-regression-test.pl --max-level 108
> 2023-06-18 08:42:29: Asking Privoxy for the number of action files available ...
> 2023-06-18 08:42:29: Gathering regression tests from 3 action file(s) delivered by Privoxy 3.0.35.
> 2023-06-18 08:42:30: Executing regression tests ...
> 2023-06-18 08:42:32: Failure for test 70. Supposedly-blocked URL: 'https://elsa.memoinsights.com/t?pid=62012a7a19351c07620394e0&url=https%3A%2F%2Farstechnica.com%2Ftech-policy%2F2022%2F08%2Fthe-women-calling-out-apples-handling-of-misconduct-claims%2F&author%5B%5D=Financial%20Times&title=The%20women%20calling%20out%20Apple%E2%80%99s%20handling%20of%20misconduct%20claims&date=2022-08-04T13%3A39%3A42Z&referrer=&ref_url=&page_url=https%3A%2F%2Farstechnica.com%2Ftech-policy%2F2022%2F08%2Fthe-women-calling-out-apples-handling-of-misconduct-claims%2F%3Fcomments%3D1&cb=MEMO.API.callbacks.cbakynzcplf&v=v3.0.6&t=5000&e=5000&s=7362'
> 2023-06-18 08:42:43: Executed 464 regression tests. Skipped 5. 463 successes, 1 failures.
> 

i would like to see this link you’ve given below fail, so we’re consistent. but i should share that i am still getting the one error (whereas you had none) on the default set of tests.

i’ll try my best to look into this but i am not sure if the failed test is reflecting the overflow ?

Thanks,
Gagan

> On Jun 18, 2023, at 8:36 AM, Fabian Keil <fk at fabiankeil.de> wrote:
> 
> Gagan Sidhu <broly at mac.com> wrote on 2023-06-18 at 08:01:36:
> 
>> have you tried with optimisations disabled just to rule that out?
> 
> Yes. I build without optimisations by default.
> 
>> the error below isn’t telling us much, in my opinion.
>> 
>> it tells it fails in rewrite_url but not where exactly in that function (if i am reading it correctly?)
> 
> That's my impression as well.
> 
>> could you also add this case to the regression tests or show me how i can feed this to privoxy in no-daemon mode to assist ?
> 
> You can add a section like this to one of the action files:
> 
> {+redirect{s@\?(utm_source=rss1.0)?(mainlinkanon)?&utm_medium=feed@@}}
> # Redirect URL = http://news.slashdot.org/story/11/07/15/1230204/Microsoft-Social-Media-Site-Accidentally-Revealed?utm_source=rss1.0&utm_medium=feed
> # Redirect Destination = http://news.slashdot.org/story/11/07/15/1230204/Microsoft-Social-Media-Site-Accidentally-Revealed
> # Redirect URL = http://news.slashdot.org/story/11/09/17/049231/Celebrate-Software-Freedom-Today?utm_source=rss1.0mainlinkanon&utm_medium=feed
> # Redirect Destination = http://news.slashdot.org/story/11/09/17/049231/Celebrate-Software-Freedom-Today
> /.*utm_medium=feed
> 
> Then run "privoxy-regression-test.pl --max-level 108".
> 
> While trying that I discovered that this triggers
> a similar crash when executing an existing test in
> default.action.
> 
> Fabian
> _______________________________________________
> Privoxy-devel mailing list
> Privoxy-devel at lists.privoxy.org
> https://lists.privoxy.org/mailman/listinfo/privoxy-devel



More information about the Privoxy-devel mailing list