Control: tag -1 - unreproducible + confirmed upstream
Control: retitle -1 links2: Setting "-only-proxies 1" also sets "-http.fake-firefox 1" unconditionally
Hi,
Fulano Diego Perez wrote:
> > I'm sorry, but I can't reproduce this issue:
> >
> > Calling "links2 -http.fake-user-agent UA
http://wtfismyip.com/headers"
> > gives me as expected:
> >
> > host:
wtfismyip.com
> > user-agent: UA
> > accept: */*
> > accept-language: en,*;q=0.1
> > accept-encoding: gzip,deflate,bzip2,lzma,lzma2
> > accept-charset:
> > us-ascii,ISO-8859-1,ISO-8859-2,ISO-8859-3,ISO-8859-4,ISO-8859-5,ISO-8859-6,[...]
> > connection: keep-alive
> >
> > Switching to HTTPS does not make a difference either. Same for links2
> > on Debian Stable.
This is still the case.
> >> also the same when using fake.firefox 0/1
> >
> > Never heard of that option/setting and it's neither in the man page,
> > nor in the --help output nor listed in ~/.links2/links.cfg nor can
> > such a binary setting be seen in the menu under Setup -> Network options
> > -> HTTP options -> Headers options.
>
> which menu is that in stretch ?
Indeed, I now see the option in Sid. For my previous mail I checked
both, Jessie and Sid in parallel and looked up the man-page and -h
output on Jessie instead of Sid. Sorry for that mistake.
On Sid you can find it under Setup -> Network options -> HTTP options
-> Header options -> Fake Firefox
Thanks for these more detailed examples. That helped a lot to
understand where the issue is.
I can confirm that these combinations of options behave as if
-http.fake-firefox would have been set to 1.
Dropping the "-only-proxies 1" make the remainder work as expected.
Unfortunately I found no obvious reason in the source code why these
two options should be connected. Will forward the issue to upstream.
> dpkg --reconfigure
Nope. That has nothing to do with this issue.