7c7bbf2c27
Fix issue #467 Adding wiki as submodule to repo
...
* bootstrap.conf: Add clone_wiki() and call it from
bootstrap_post_import_hook().
Signed-off-by: Jeffrey Marius <getjff@gmail.com >
2021-08-21 19:32:11 +02:00
5dedff4c42
* tests/test--page-requisites.c: Add tests for new rel parsing
2021-08-08 09:56:14 +02:00
10c5057a8a
Fix the rel attribute handling for link tags
2021-08-07 20:34:13 +02:00
d6e5641980
* libwget/http.c (wget_http_response_cb): Fix chunked transfer
2021-07-07 18:19:09 +00:00
0444fd0e19
Fix parsing comments in <style> content
...
* libwget/xml.c: Add new function getStyleContent(),
(parseXML): Use getStyleContent() instead of getContent(),
update link in comment.
2021-07-05 20:07:15 +02:00
f1650988e3
* fuzz/libwget_html_url_fuzzer.dict: Add 'data:' to dictionary
2021-05-30 19:36:04 +02:00
d0293d9f62
* libwget/html_url.c (html_get_url): Support data: URL in srcset attribute
2021-05-30 19:33:17 +02:00
9e56d9ed50
* docs/wget2.md: Mention that -P creates the prefix directory
2021-05-30 19:23:07 +02:00
73df033b52
* unit-tests/test.c: Free memory in test_parse_header_line()
2021-05-16 14:42:26 +02:00
01a6fe02e3
Fix request path escaping
...
* include/wget/wget.h: Remove function wget_iri_isunreserved_path().
* libwget/iri.c: Remove function wget_iri_isunreserved_path().
(iri_ctype): Extend array with unreserved characters.
(wget_iri_isunreserved): Simplify code.
(wget_iri_escape): Use macro iri_isunreserved instead of wget_iri_isunreserved().
(wget_iri_escape_path): Add RFC links to function comment,
Fix check whether char needs percent-encoding or not,
Use macro iri_isunreserved instead of wget_iri_isunreserved().
2021-05-16 14:29:26 +02:00
4674f314de
* libwget/http_parse.c: Remove old comment from RFC 2183.
2021-03-27 20:02:01 +01:00
ccc0092a88
Add test case for Content-Disposition
...
* libwget/http_parse.c: Update comment with BNF of RFC 6266.
* unit-tests/test.c: Add test for a filename containing space.
2021-03-27 19:59:03 +01:00
91457ed2b6
* .gitlab-ci.yml: Drop manywarnings and SSL support on FreeBSD CI
2021-02-13 17:46:08 +01:00
13aa6dea3f
* libwget/ssl_openssl.c: Include openssl/asn1.h for ASN1* functions.
2021-02-08 16:08:33 +01:00
52fb96c860
* src/wget.c (prepare_file): Skip file name filter if config.filter_urls is active
2021-02-07 19:52:48 +01:00
1358405061
Fix building without TLS library
...
This changes configure semantics to fail if no TLS library
is found and no --with-ssl=none was explicitly requested.
It protects users from accidentally building without TLS.
* .gitlab-ci.yml: Tarball build using --with-ssl=none.
* configure.ac: Stop with error if no TLS was found and --with-ssl
was not used.
* tests/libtest.c: Fix issues with conditionally declared variables.
2021-02-07 12:34:39 +01:00
189b77312d
* .gitlab-ci.yml: Allow failure for FreeBSD runner
2021-02-06 23:20:29 +01:00
4db8248da1
* libwget/ssl_openssl.c: Fix for openssl/clang
2021-02-06 23:08:37 +01:00
d123cb89a7
* tests/test-ocsp-server.c: Skip cert revocation check for WolfSSL
2021-02-06 19:47:02 +01:00
39a5e91407
* tests/test-post-handshake-auth.c (main.c): Fix warning when building with non-gnutls libraries
2021-02-06 19:47:02 +01:00
258506ce85
Separate GnuTLS in wget2 and in test suite
...
* configure.ac: Separate GnuTLS in wget2 and in test suite.
* tests/libtest.c: Use WITH_GNUTLS_OCSP insteadof WITH_OCSP.
2021-02-06 19:47:02 +01:00
37ba5a503c
* configure.ac: Improve searching for SSL/TLS libraries
2021-02-06 19:47:02 +01:00
2040b94fac
* gnulib: Update
2021-02-06 19:07:17 +01:00
0ef470bca3
* libwget/ssl_openssl.c (get_tls_version): Fix error in case construct for LibreSSL
2021-02-06 12:57:15 +01:00
420c5672e0
* tests/test-chunked.c: Extend test with hand-crafted chunked pattern
2021-01-31 19:21:59 +01:00
b084c177c9
* libwget/http.c (wget_http_get_response_cb): Remove superfluous space in debug msg
2021-01-31 19:21:18 +01:00
cd09da5799
* libwget/hsts.c (hsts_db_add_entry): Fix possible NULL access
2021-01-24 17:04:31 +01:00
c349a7eda7
* libwget/http.c (wget_http_get_response_cb): Fix NULL ptr access
2021-01-24 14:06:07 +01:00
e4f4052ddd
* libwget/http.c (wget_http_response): Fix buffer overflow
2021-01-24 13:49:37 +01:00
d281ffab48
* configure.ac: Detect unresolved AX_ macros
2021-01-24 12:26:35 +01:00
f7050b9206
* configure.ac: Use noyywrap for AC_PROG_LEX
2021-01-24 12:24:40 +01:00
1f272959c3
Fixed error log for non-fatal inflate() return code Z_BUF_ERROR
...
* libwget/decompressor.c (gzip_decompress): Return 0 for Z_BUF_ERROR.
2021-01-24 12:05:04 +01:00
bdd0feffb2
* configure.ac: Fix for autoconf 2.70
2021-01-23 19:59:13 +01:00
1f16bf40e2
* bootstrap: Update from gnulib
2021-01-23 19:59:13 +01:00
d2e57064b8
* gnulib: Update
2021-01-23 19:59:13 +01:00
22162f82b2
Update copyright year
2021-01-22 21:58:38 +01:00
368deb9fcc
Update POTFILES.in
2021-01-10 19:40:17 +01:00
e0d07dda91
* AUTHORS: Add Michael Heerklotz [skip ci]
2021-01-09 12:33:14 +01:00
99e423ebb9
* AUTHORS: Add Michael Roosz [skip ci]
2021-01-06 18:52:00 +01:00
5a4e3ae0cb
* .travis.yml: Remove unneeded packages for Linux
2021-01-02 15:35:19 +01:00
687ac99602
* configure.ac: Small cleanups
2021-01-01 22:54:23 +01:00
b1331e2c62
* configure.ac: Remove superfluous 'x' ahead of variables
2021-01-01 22:40:51 +01:00
280f74c4b3
Fix combination of redirections with --retry-on-http-error
...
* src/wget.c: Move some code logic around.
* tests/test-interrupt-response.c: Correct expected wget2 exit status.
* tests/test-redirection.c: Add tests for --retry-on-http-error.
Reported-by: Sergei Litvin
2020-12-27 14:37:11 +01:00
aafa1876d4
* src/options.c (print_version): Print https and ssl properly for OpenSSL and WolfSSL
2020-12-27 14:31:11 +01:00
08143632a7
Reduce duplicated code in check_status_code_list().
...
* src/wget.c (check_status_code_list): Call check_statuscode_list().
2020-12-27 11:55:33 +01:00
ec32fd50d6
* src/wget.c (downloader_thread): Add check_statuscode_list() for readability
2020-12-27 11:42:28 +01:00
7feccaeeda
Rename config.http_retry_on_error to config.retry_on_http_error
...
* src/options.c (options,deinit): Rename.
* src/wget.c (downloader_thread): Rename.
* src/wget_options.h (struct config): Rename.
2020-12-27 11:31:09 +01:00
f8427fa1af
* tests/libtest.c (wget_test): Add --tries=1 to wget2 command line
2020-12-27 11:28:32 +01:00
788bfe923c
* AUTHORS: Add Sergei Litvin
2020-12-25 19:27:04 +01:00
e584b0052b
* tests/libtest.c (wget_test_start_server): Fix warning 'break will never be executed'
2020-12-25 19:02:41 +01:00