[squid-users] squid 7.1 , url_rewrite_program does not work

Alex Rousskov rousskov at measurement-factory.com
Tue Oct 21 18:32:03 UTC 2025


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.



More information about the squid-users mailing list