On Mon, Dec 9, 2019 at 10:04 AM Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote: > > > How could I refer to these values in the deny_info 302:%* line? > > deny_info 302:https:%o bad_Location > > This should do it for Squid-3 (and avoids the config parser bug). You > just have to have the helper produce the URL (without the "https:" > scheme name) as its message= value. Almost, but still not there yet. All "/" chars are translated to %2f, as in: https://%2f%2fserver%2fpath... I guess I need to encode the string somehow. The helper script is in perl and it looks something like this: chomp; my $string = $_; $string =~ m/^([0-9]+)\s(\S+)$/; my ($cid, $uri_location) = ($1, $2); [...] $status = $cid." OK message=\"".$uri_location."\""; print $status."\n"; Any ideas? Vieri _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users