It was broken in 0.11.2.GIT (a64dd281e9169ebfea963ad64ec36e4c7782aa67).
Since then, $QUERY_STRING has been empty for <file:///foo/bar?query>.
uri.data is documented as containing both the path and the query.
[ Commit message by me. --KON ]
Revert commit 644908c130210ed7b17a3bd1241244576b94c546,
"Garbage-collect SMJS objects before flushing caches."
The extra garbage collections increase the risk of crashing because of
dangling pointers in form_state.ecmascript_obj. I don't think I'll
have time to properly document the bug and backport the fix before
the 0.11.4 release, so I'm reverting the change instead.
Revert commit 5a49b9f14d4b8bb30bfada4958c22e6a8cfab21e,
"NEWS: mention bug 951"
The extra garbage collections increase the risk of crashing because of
dangling pointers in form_state.ecmascript_obj. I don't think I'll
have time to properly document the bug and backport the fix before
the 0.11.4 release, so I'm reverting the change instead.
$(AM_CFLAGS) is one of the variables set by Automake, which ELinks no
longer uses. $(CPPFLAGS) should be used whenever the C preprocessor
is run, according to the GNU Coding Standards. (My build environment
does have an important -I option there.)
[ From commit 40e257bedd59c35b4a54c5e85e4391383ad6bf84 in ELinks
0.12.GIT. --KON ]
Support the new libmozjs packages in Debian unstable that replace the
old libsmjs packages.
[ From commits b2ec6e0a3e2c5b66ecb9d539236040e1391a833a and
368504f73689f9f34913c29f5567596e4ab34b53 in ELinks 0.12.GIT. --KON ]
Reported to elinks-users on 2006-08-23.
[ From commit 57a9871ea1c36f2a378dca139ff4fea8980bb1f6 in ELinks 0.12.GIT.
Should fix an error building ELinks in the source directory on SunOS.
The error was again reported to elinks-users on 2007-05-10. --KON ]
Don't look for gettext message catalogs in ../po/ unless ELinks is being
run as src/elinks, ./src/elinks, or .../src/elinks.
Discovered by Arnaud Giersch, this alternate fix (than what is in debian
package 0.11.1-1.4) closes debian bug #417789 and redhat bug #235411.
Also reported in: CVE-2007-2027.
Restricting it to only work with --enable-debug was also considered,
however, it is an important feature for translaters so this less
paranoid fix was chosen.
The configure script checks whether it is possible to compile a use of
POPpx without an n_a variable; if not, the source code then defines
those variables. This is slower than including Perl's patchlevel.h
and comparing the version numbers to 5.8.8 but I expect this to be
more reliable as well.
[ Backported from commit 432969a3a96790f92ea0097795a36cfbf264999d in
ELinks 0.12.GIT. --KON ]
When trying to view a binary file, this hook would cut it at the first
'\0'.
[ From commit 5af21a8d29e1eb5995ba7fd6ed4f6a2a966ac452 in ELinks
0.12.GIT. --KON ]
It complains here that n_a might be used uninitialized and POPpx doesn't
set anything like it.
[ From commit 0f8ee055dbd48bdb3b5deb205aea84431a0de3ff in ELinks
0.12.GIT. --KON ]
In revision 1.15 of dns.c (as it was called way back then), pasky
backported a fix from Links 0.97pre2 to try gethostbyaddr before
trying gethostbyname for DNS lookups:
MacOS address resolution fix (Aldy Hernandez) (from 0.97pre2)
However, that fix introduced a bug, because it was calling gethostbyaddr
on all addresses, not just IP addresses. Mikulas fixed that bug in Links
0.98:
Do not call gethostbyaddr when name is not ip address (it should avoid
some useless nameserver queries)'
This fix was never backported to ELinks. Until today.
This commit is functionally the same as the fix in Links 0.98, plus it uses
inet_aton for great correctness!
This fixes a bug reported in #elinks by tnks, whereby lookups for
yubnub.org resulted in 121.117.98.110 == 0x7975626E == 'y', 'u', 'b', 'n'.
I believe that it also fixes bug 691 (which is already closed with a
workaround).
[ From commit 8344dfe6c94604e0aa4e854c8b5d99571f9025af in ELinks
0.12.GIT. --KON ]
Revert commit 2d6840b9bd9d3a7a45a5ad92b4e98ff7224d6d97. It is causing
passive FTP via IPv6 to fail on ftp.funet.fi. ELinks sends PASV and
the server says "425 You cannot use PASV on IPv6 connections. Use EPSV
instead."
[ Backported from commit c0f488251fbb8ffc167cc0643a539dc18f2350c0 in
ELinks 0.12.GIT. --KON ]
This is an overlapping copy and memcpy is not required to support that.
[ From commit a58345f4e7825372be03614d594a9edf07558861 in ELinks
0.12.GIT. --KON ]
[ Backported from commit ce05aa1f374bb07d3b55487263ea9f21dcdc422e in ELinks
0.12.GIT. The earlier commit 0b7a56f89af491466821a6831e2bb4484eb817b0
changes the CONFIG_UTF8 variant of set_hline, and that does not exist in
ELinks 0.11. --KON ]
And log this in NEWS, although that may have to be reverted later if
it turns out this change just hides a real bug elsewhere in ELinks.
[ Backported from commit 2f25d3e57cd6dd1d2dda71108b2b2db1cb919400 in
ELinks 0.12.GIT. --KON ]