1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-24 00:56:14 +00:00
Commit Graph

4197 Commits

Author SHA1 Message Date
Witold Filipczyk
b3ae1caf8b [lua] foreachi replaced by ipairs. Refs #46 2020-05-22 20:59:06 +02:00
Witold Filipczyk
9e71d7f3c8 [scripting] lua_rawlen. Refs #46 2020-05-22 20:46:35 +02:00
Witold Filipczyk
e20ed163cb [po] update 2020-05-21 20:42:38 +02:00
Witold Filipczyk
2dcac411a8 [sessions] New option ui.sessions.fork_on_start
Default value of this bool option is 0. Nothing changes in behaviour since 0.13.1.
If you set it to 1, one more process will be started. This main process will handle
only interlink connections, while other processes will be slaves to it.
This will allow to exit first started elinks session without breaking others.
2020-05-21 16:53:43 +02:00
Witold Filipczyk
033f15fe7b [session] Shorter 2020-05-20 20:38:39 +02:00
Witold Filipczyk
2273c4a370 [session] Because all terminals are slaves, choose first session for remote. 2020-05-20 19:05:58 +02:00
Witold Filipczyk
f89b26d5b2 [interlink] Fixed elinks -remote 'ping()' 2020-05-20 18:35:40 +02:00
Witold Filipczyk
83706c49ba [configure.ac] Do not show warnings related to gettext for gcc-10
It is not a good idea, but warnings also look ugly.
2020-05-18 21:49:58 +02:00
Witold Filipczyk
6a581dd044 [cofigure.ac] gcc-9 on Raspbian 2020-05-17 18:53:57 +02:00
Witold Filipczyk
08138487a0 [interlink] Test commit. All terminals - slaves.
Before when master terminal quit session, all slave terminal stopped to work.
There is a workaround. ELinks on master terminal forks on start and becomes slave.
2020-05-17 16:35:58 +02:00
Witold Filipczyk
0c794c2200 [po] More specific 2020-05-16 20:56:17 +02:00
Witold Filipczyk
3a6a60e3ec [po] updated translations files 2020-05-16 20:26:13 +02:00
Witold Filipczyk
ca71978c81 [config] Shorter summary 2020-05-13 21:10:16 +02:00
Witold Filipczyk
60f6c35a2c [config] Config option "ui.tostop" . Refs #45
ui.tostop decides whether to stop background processes trying to write
to the terminal. Default enabled.
2020-05-13 20:51:37 +02:00
Witold Filipczyk
df3a79bed5 Revert "[terminal] Try to fix #45 as suggested by Debian user"
This reverts commit a3e84e27c7.
2020-05-13 20:33:00 +02:00
Witold Filipczyk
16bb37b84f [cookies] Missing file 2020-05-10 21:49:39 +02:00
Witold Filipczyk
a3e84e27c7 [terminal] Try to fix #45 as suggested by Debian user 2020-05-10 16:11:52 +02:00
Witold Filipczyk
8c377a083d [cookies] Check cookie path according to RFC 6265. Added test 2020-05-10 15:52:33 +02:00
rkd77
3ea14631bb
Merge pull request #44 from aelmahmoudy/cookie-path
cookies: Properly handle cookie path= equal to request path
2020-05-10 14:56:17 +02:00
Ian Jackson
9bb3415811 cookies: Properly handle cookie path= equal to request path
The code in cookies.c would arrange that c->path would always contain
a string ending in "/".  This may have been an attempt to make it
easier to do a proper subpath check in is_path_prefix.

Howver, the overall result is wrong in the case
   Set-Cookie: ....;path=/some/thing
and then later
   http://site.example.com/some/thing

c->path gets set to "/some/thing/" which doesn't pass the test in
is_path_prefix.

The precise required algorithm is described in RFC6265 5.1.4.  The
existing code fails to implement the first of the three bulleted
conditions at the end of 5.1.4.

The trailing "/" is actually not so helpful for this.  It is more
convenient to change is_path_prefix to do subpath matching directly:
we change it to insist that the supposed path prefix is a textual
prefix of the request path, *and* that this happens at a path segment
boundary: ie at '/' or end of string.[1]

Accordingly, we no longer add "/" to the cookie path.  When we strip
the final path element we strip the "/" too.  We still insert a "/" if
the path was empty.

[1] It is not 100% clear to me what "path" (URI_PATH) is but I think
it does not include any query parameters.  If I am wrong about that
then '?' should be tolerated too.

CC: Mark Wooding <mdw@distorted.org.uk>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2020-05-09 14:33:45 +02:00
Witold Filipczyk
eb46577ccb [options] Added remote's reload and search to elinks --long-help 2020-05-06 20:32:19 +02:00
Witold Filipczyk
d857560466 [ipv6] this code was not tested 2020-05-05 21:48:22 +02:00
Witold Filipczyk
5188b8ab84 [network] -bind-address-ipv6 <ipv6> to bind to IPv6 address 2020-05-05 21:39:54 +02:00
Witold Filipczyk
35e32f5acb [network] -bind-address <ipv4> cmdline option to bind to given IP address 2020-05-05 21:18:29 +02:00
rkd77
08d200f42c
Merge pull request #43 from sgerwk/master
document the -remote search(string) function
2020-05-04 13:53:53 +02:00
sgerwk
5b88e3ac9c document the -remote search(string) function 2020-05-03 16:31:44 +02:00
Witold Filipczyk
5c57cf6270 [fragment] Do not move to the top, when nonexisting fragment is in current document. Refs #42
Behaviour similar to bigger browsers.
2020-04-28 19:13:36 +02:00
Witold Filipczyk
95466e73ed [remote] Slightly modified -remote search 2020-04-26 11:45:46 +02:00
rkd77
36fc784212
Merge pull request #41 from sgerwk/master
add -remote 'search(string)'
2020-04-26 11:32:40 +02:00
sgerwk
d1be5c322f add -remote 'search(string)' 2020-04-25 19:55:16 +02:00
rkd77
8f6b67a780
Merge pull request #40 from aelmahmoudy/debwatch
Update watch file
2020-02-05 21:51:28 +01:00
أحمد المحمودي (Ahmed El-Mahmoudy)
52d492abd3 Update watch file 2020-02-05 16:22:40 +01:00
Witold Filipczyk
5ab768a25e [README] Some notes about felinks origin 2020-02-04 11:58:12 +01:00
Witold Filipczyk
52ed7c5926 [NEWS] Info about 0.13.1 2020-01-31 17:48:44 +01:00
Witold Filipczyk
4416e3be8d [python3] one time conversion of asciidoc to Python3. Refs #38
Likely it will fail on Cygwin.
2020-01-04 20:15:28 +01:00
Witold Filipczyk
5967eb93b4 [python3] python3 for asciidoc 2020-01-04 20:12:34 +01:00
Witold Filipczyk
0eaf9526bb [python3] proxy.py ported to python3. Refs #38 2020-01-04 16:05:10 +01:00
Witold Filipczyk
4fb19bd1fd [python3] big_file.cgi ported to Python3. Refs #38 2020-01-03 20:20:43 +01:00
Witold Filipczyk
5f462239be [cgi] Calculate CONTENT_LENGTH also for file uploads
Before big_file.cgi caused pipe errors when ported to Python3.
2020-01-03 20:17:10 +01:00
Witold Filipczyk
a27e9b168c [python3] adjust code to Python3 in test scripts. Refs #38
I don't know how to fix big_file.cgi
If you know how to get equivalent of this script in Python3, tell me.
2020-01-01 16:07:14 +01:00
Witold Filipczyk
df905c7481 Changed version. 2019-12-27 17:33:27 +01:00
Witold Filipczyk
e4220c0301 [encoding] Do not announce "deflate" as supported encoding method 2019-12-22 11:30:12 +01:00
Witold Filipczyk
3db5c51b8d [sites] URL to github 2019-12-20 14:44:50 +01:00
Witold Filipczyk
d8de9ac7e5 [gcc] pragma outside function body 2019-12-06 20:13:38 +01:00
Witold Filipczyk
e8cb012ada [ssl] Allow older versions of openssl. Refs #37 2019-12-06 18:50:31 +01:00
Witold Filipczyk
51dd9e7e6e [color] Revert changes related to leading and trailing spaces and colours
It did not look good.
2019-11-21 21:01:49 +01:00
Witold Filipczyk
b73fb5c7ec [po] Updated Polish translation 2019-11-19 17:59:17 +01:00
Witold Filipczyk
ce3f8a1ab8 [po] Update 2019-11-19 16:59:36 +01:00
Witold Filipczyk
af3b2073a1 [po] verbatim translation of seeders 2019-11-19 16:52:23 +01:00
Witold Filipczyk
e532e348f8 [timer] set_event_for_timer is only for libevent 2019-11-16 11:35:18 +01:00