Re: squid 7.1 , url_rewrite_program does not work

Alex Rousskov <[email protected]> Tue, 21 Oct 2025 14:32:03 -0400
Newsgroups gmane.comp.web.squid.general
Message-ID <[email protected]>
On 2025-10-21 02:21, Dmitry Melekhov wrote:
>>> FTR, Rejik v3.2.12 or later should be able to work via the Squid 
>>> external_acl_type interface. Like so:
>>>
>>>  external_acl_type redirector %>ru %>a/%>A %un %>rm \
>>>     /usr/local/rejik3/redirector \
>>>     /usr/local/rejik3/redirector.conf
>>>
> 
> by the way this gives error:

> 2025/10/21 10:16:17 kid1| FATAL: assertion failed: external_acl.cc:321: 
> "len == strlen(token)"

That assertion is now covered by a bug report:
https://bugs.squid-cache.org/show_bug.cgi?id=5518

FWIW, replacing "%>a/%>A" with "%>a %>A" works around that bug.

Alex.

_______________________________________________
squid-users mailing list
[email protected]
https://lists.squid-cache.org/listinfo/squid-users