[Privoxy-devel] PATCH for pcre2 support
Fabian Keil
fk at fabiankeil.de
Sun Jun 18 16:36:31 CEST 2023
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20230618/38f903e7/attachment.bin>
More information about the Privoxy-devel
mailing list