Tim Rühsen
9474a2c6f4
* .gitlab-ci.yml: Fix artifact path for the Scan-Build runner
2022-01-12 22:10:01 +01:00
Tim Rühsen
e7a4d818fa
* src/main.c (main): Unlink output document when --unlink is given
2022-01-09 18:58:41 +01:00
Tim Rühsen
f354529708
fuzz/*.in: Update fuzzer corpora
2021-12-22 19:49:24 +01:00
Tim Rühsen
67d4cb3ab6
* .gitlab-ci.yml (CoverageReports): Fix artifacts paths
2021-12-22 17:00:47 +01:00
Tim Rühsen
d2af84fbb3
* tests/valgrind-suppressions: Fix libidn rule
2021-12-22 14:32:50 +01:00
Tim Rühsen
bfb5bedf7d
* .gitlab-ci.yml: Fix artifacts paths
2021-12-22 14:29:00 +01:00
Tim Rühsen
8c5a620f0f
* tests/valgrind-suppressions: Extend libidn rule
2021-12-22 14:01:47 +01:00
Tim Rühsen
c34c2529dc
* src/log.c (logprintf): Check earlier for verbosity
2021-12-22 13:07:23 +01:00
Tim Rühsen
c7a37d82ee
* src/http.c (http_loop): Fix memleak
2021-12-22 13:06:34 +01:00
Tim Rühsen
c81042295e
Switch fuzzing build from C++ to C
...
* Makefile.am (oss-fuzz): Build with $CC instead of $CXX.
* README.md: Remove CXX and CXXFLAGS exports.
2021-12-21 19:20:52 +01:00
Darshit Shah
f75fcf2985
* src/http.c (http_loop): Hide password when printing status with -nv
...
Reported-By: Per Lundberg <perlun@gmail.com>
Closes : #61492
2021-12-01 23:38:52 +01:00
Darshit Shah
22611a77ba
* gnulib: Pull forward
2021-12-01 23:03:56 +01:00
Darshit Shah
e1bacd2fa5
* src/hsts.c (hsts_read_database): Read time_t values as long long
2021-12-01 22:42:42 +01:00
Thomas Niederberger
faeb4d90c2
* src/main.c (print_help): Add command line option for TLS 1.3
2021-12-01 22:17:11 +01:00
Darshit Shah
65e6d5b3b8
* retr.c (rotate_backups): Non existent files are not errors in this function
2021-10-11 23:06:38 +02:00
Darshit Shah
aecf5fbf1b
* ftp.c (ftp_loop_internal): Fix computation of total_downloaded_bytes
...
When continuing a FTP download, or not starting one because the file is
already fully retrieved, don't include the size of the file in the
total_downloaded_bytes. Only the actual amount of data retrieved over
the network should be considered there.
Fixes : #61277
Reported-By: Michal Ruprich <formaiko>
2021-10-08 20:37:51 +02:00
Darshit Shah
3ea9658c07
Remove suprious print statements
...
* src/gnutls.c: Remove fprintf statements. We should never print to
console directly. Always honor the log levels.
Fixes : #61125
2021-09-08 17:52:32 +02:00
Darshit Shah
31b82825a2
maint: post-release administrivia
...
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2021-09-07 21:04:48 +02:00
Darshit Shah
d5588ac221
* NEWS: Update NEWS items for release
2021-09-07 20:57:24 +02:00
Darshit Shah
204a4bccf4
* cfg.mk: Disable the indent check
2021-09-07 20:57:24 +02:00
Darshit Shah
5a79362a56
* gnulib: Pull forward
2021-09-07 20:12:55 +02:00
WB
ebb96761f5
Fix #60956 (improve --page-requisites)
...
* src/html_url.c (tag_handle_link): Check for "alternate stylesheet",
"icon" and "manifest".
2021-08-21 19:51:12 +02:00
Tim Rühsen
7899e1d17b
* src/html-url.c (tag_handle_meta): Fix integer overflow
2021-08-07 14:29:02 +02:00
Tim Rühsen
254b2d3c7c
* src/recur.c (download_child): Remove temporary robots.txt.tmp
2021-07-05 15:43:13 +02:00
Josef Moellers
718ab3f79b
Long pathnames patch
2021-06-14 08:33:57 +02:00
Tim Rühsen
d73e8b42f7
* .gitlab-ci.yml: Remove scan-build deps from pages stage
2021-06-07 20:32:41 +02:00
Tim Rühsen
4a5a010eb3
* .gitlab-ci.yml: Move scan-build/ to public/ only if it exists
2021-06-07 00:11:11 +02:00
Tim Rühsen
89fc8d84b7
* .gitlab-ci.yml: Move scan-build results to parent directory
2021-06-06 23:48:42 +02:00
Tim Rühsen
a0e0965d1e
* .gitlab-ci.yml: Move coverage results to parent directory
2021-06-06 23:34:46 +02:00
Tim Rühsen
96971867ea
* .gitlab-ci.yml: Don't allow failure of scan-build
2021-06-06 23:26:33 +02:00
Tim Rühsen
5192dddbdd
* .gitlab-ci.yml: Pages needs Build-Tarball
2021-06-06 23:18:24 +02:00
Tim Rühsen
91c42c799a
* src/url.c (append_uri_pathel): Add cheap extra check to help static analyzers
2021-06-06 15:34:12 +02:00
Tim Rühsen
c778ac20b4
* src/http.c (gethttp): Add cheap extra check to help static analyzers
2021-06-06 15:34:06 +02:00
Tim Rühsen
4d3ee1604a
* .gitlab-ci.yml: Exclude src/css_.o from scan-build
2021-06-06 15:34:03 +02:00
Tim Rühsen
a209bb1fac
* src/main.c (main): Removed unused variable
2021-06-06 15:33:59 +02:00
Tim Rühsen
36e250e09a
Revert "Long pathnames patch"
...
This reverts commit affad27664
.
Manual tests with very long path names did not work with this patch.
We have to wait for a patch including automated tests.
2021-06-06 14:10:22 +02:00
Tim Rühsen
f3299cc606
* .lgtm.yml: Add autoconf-archive
2021-06-06 02:39:28 +02:00
Tim Rühsen
de4b94a5ae
* .gitlab-ci.yml: Re-arrange stages
2021-06-06 02:39:28 +02:00
Tim Rühsen
c1599deb1f
Remove .git/, .gitmodules and gnulib/ from bootstrap artefacts
2021-06-06 02:39:28 +02:00
Darshit Shah
61df89eb91
Updated Gitlab CI Pipeline
...
* .gitlab-ci.yml: COmpletely overhauled CI pipeline with dependencies
for a faster and more robust CI.
2021-06-06 02:39:17 +02:00
jmoellers
affad27664
Long pathnames patch
2021-05-29 17:17:27 +00:00
Tim Rühsen
170896a76a
* fuzz/wget_read_hunk_fuzzer.c: Add explicit cast for C++ compilation
2021-05-22 16:48:19 +02:00
Tim Rühsen
d4431a0b97
* fuzz/wget_ntlm_fuzzer.c: Add explicit cast for C++ compilation
2021-05-22 16:48:14 +02:00
Tim Rühsen
027d294114
* src/http.c (initialize_request): Send Host HTTP header first
...
This solves an issue where the server expects the Host: header
as first one. This seems plausible (ahem) as the Host: header is the
only one that is required.
2021-05-03 17:49:58 +02:00
Tim Rühsen
5fe8d26904
Improve wget_options_fuzzer
...
* fuzz/fuzzer.h: Ignore -Wunused-parameter.
* fuzz/wget_options_fuzzer.c: Let getaddrinfo() fail in while fuzzing.
* fuzz/wget_options_fuzzer.in/*: Update corpora from OSS-Fuzz.
2021-05-02 19:43:06 +02:00
Nekun
aabdf6eb66
Fix typo in VMS support code
...
* src/utils.c: Remove unpaired brace
Copyright-paperwork-exempt: Yes
2021-05-02 14:19:01 +02:00
Nils
1aada296dd
Use "nofollow" instead of "no-follow" in messages
...
* src/html-url.c (get_urls_html_fm): Remove misleading debug message.
* src/recur.c (retrieve_tree): Fix no-follow -> follow in DEBUGP.
The attribute in html is "nofollow" so it is more consistent to call it
so than to hyphenate it.
Copyright-paperwork-exempt: Yes
2021-04-15 21:03:56 +02:00
Nils
f1cccd2c45
Print message for no-follow attribute only if norobots respected
...
* src/html-url.c (get_urls_html_fm): Remove misleading log message.
* src/recur.c (retrieve_tree): Add log message into correct if block.
Commit e39be32838
added a message that
said links will not be followed whenever the nofollow attribute is found
in a page. It didn't take into account that with -e robots=off (and
equivalents) links will still be followed.
This bug has been noticed multiple times:
* https://www.reddit.com/r/DataHoarder/comments/mprq89/wget_respects_nofollow_attribute_despite_e/
* https://gist.github.com/simonw/27e810771137408fd7834ad153750c41#gistcomment-3648191
* https://superuser.com/questions/1494761/wget-wont-ignore-no-follow-attributes
This commits makes it so that this message is only printed when a
nofollow link is found and the norobots convention is respected.
Copyright-paperwork-exempt: Yes
2021-04-15 21:02:28 +02:00
Tim Rühsen
11c626efc4
* configure.ac: Add AM_GNU_GETTEXT_VERSION
2021-04-15 20:56:27 +02:00
Tim Rühsen
db6166d011
* testenv/test/base_test.py: Rename valgrind-suppression-ssl -> valgrind-suppressions-ssl
2021-04-11 19:41:03 +02:00