Re: [squid-users] v4.2 url_rewrite Uri.cc line 371 bad URL parsing on SSL

2018-08-16 Thread Amos Jeffries
On 16/08/18 19:34, David Touzeau wrote: > Thanks Amos for details. > > Working like a charm now. > > Instead of sending https://192.168.1.122:443/myguard.php?rule-id=0; > > Helper sends 192.168.1.122:443 > That is only useful if the server at that IP:port can present the client with a

Re: [squid-users] v4.2 url_rewrite Uri.cc line 371 bad URL parsing on SSL

2018-08-16 Thread David Touzeau
sers] v4.2 url_rewrite Uri.cc line 371 bad URL parsing on SSL On 16/08/18 11:58, David Touzeau wrote: > Hi, > > > > I have written my own url_rewrite helper > > > > On SSL sites, the helper answering a redirect to a remote denied php page. > No your helper *rew

Re: [squid-users] v4.2 url_rewrite Uri.cc line 371 bad URL parsing on SSL

2018-08-15 Thread Amos Jeffries
On 16/08/18 11:58, David Touzeau wrote: > Hi, > >   > > I have written my own url_rewrite helper > >   > > On SSL sites, the helper answering a redirect to a remote denied php  page. > No your helper *rewrite* the URL without changing any other properties of the request message. This can be

[squid-users] v4.2 url_rewrite Uri.cc line 371 bad URL parsing on SSL

2018-08-15 Thread David Touzeau
Hi, I have written my own url_rewrite helper On SSL sites, the helper answering a redirect to a remote denied php page. With HTTP, no issue but on SSL there is a different behavior My helper return rewrite-url= https://192.168.1.122:443/myguard.php?rule-id=0