From: Fabian K. <fk...@fa...> - 2012-01-11 20:32:49
|
limadute <bo...@fa...> wrote: > Fabian Keil <fk<at>fabiankeil.de>writes: > > limadute<boque92<at>f>wrote: > > > i need help. > > > A blank "+hide-user-agent{}" > > > caused parsing error. > > > This is new. > > > Or an error on my side ? > > Using +hide-user-agent{} without a parameter has always > > been invalid syntax, but due to a bug it hasn't been > > properly detected in several Privoxy releases before 3.0.18. > "invalid syntax" > haven't had enough coffee,fiddle around. > But why invalid ? The action requires an argument and you didn't provide one. Valid syntax looks like this: fk@r500 ~ $cat /usr/jails/privoxy-jail/usr/local/etc/privoxy/user-agent.action {+hide-accept-language{no-no} \ +hide-user-agent{Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1} \ } / Fabian |