summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that spaces are quoted when converting linksHEADmasterDarshit Shah2023-05-161-5/+14
| | | | | | | | | | | * src/convert.c(convert_links): Print the actual quoted newname when printing DEBUG output (local_quote_string): Also quote the ' ' charcter as %20. While it is okay to leave the characted as-is, quoting it covers more edge cases. And it should resolve a >10 year old bug with CSS url() parameters not being quoted Bug-Id: 64082 Reported-By: Ethan Gibbs <ethan@snowsign.net> Discussed-At: https://stackoverflow.com/q/13300017
* Add new test to ensure CSS url() encodingDarshit Shah2023-05-162-0/+64
| | | | | | | | | | url() parameters in CSS cannot have spaces in them. Ensure that Wget does not do that when using --convert-links * testenv/test_css_url.py: New file * testenv/Makefile: Add test_css_url.py to tests Bug-Id: 64082
* Automatically verify if commit author has assigned copyrights in the pastDarshit Shah2023-05-142-0/+59
| | | | | * contrib/commit-check: Add new script * .gitlab-ci.yml: Add new test in the CI pipeline
* * testenv/conf/expected_files.py: Ignore common.confJan Palus2023-05-141-2/+2
| | | | Copyright-paperwork-exempt: Yes
* * AUTHORS: Rework file to prepare for autmated testingDarshit Shah2023-05-141-53/+356
|
* maint: post-release administriviaDarshit Shah2023-05-113-2/+5
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* contrib/make-release: Update regexes to match the NEWS filev1.21.4Darshit Shah2023-05-111-3/+3
|
* cfg.mk: Replace uses of filesystem with file systemDarshit Shah2023-05-116-7/+6
|
* Update NEWSDarshit Shah2023-05-111-0/+12
|
* bootstrap.sh: Update script from gnulibDarshit Shah2023-05-101-622/+1012
|
* gnulib: Pull forwardDarshit Shah2023-05-101-0/+0
|
* Update deprecated option '--html-extension' to '--adjust-extension'jinfuchiang2023-04-091-1/+1
| | | | | | | * doc/wget.texi: Update option '--html-extension' to '--adjust-extension'. Renamed in Wget 1.12 to better reflect its behavior. Copyright-paperwork-exempt: Yes
* Don't write core dump if --secure-option value isn't suppported.Tim Rühsen2023-03-193-6/+16
|
* * src/retr.c (fd_read_body): Increase bufsize from 8k to 64kTim Rühsen2023-02-181-1/+1
|
* * src/retr.c (fd_read_body): Simplify gzip initializationTim Rühsen2023-02-181-23/+14
|
* * src/retr.c (fd_read_body): Use MAX instead of maxTim Rühsen2023-02-181-3/+1
|
* Simplify url_error function.Tim Rühsen2023-02-189-55/+29
| | | | | | | | | | | | | * src/url.c (url_error): simplify, remove url arg, return const char *. * src/url.h (url_error): remove url arg, return const char *. * src/html-url.c (get_urls_file): Simplify call to url_error(), remove call to free(). * src/http.c (metalink_from_http): Likewise. * src/main.c (main): Likewise. * src/metalink.c (retrieve_from_metalink, fetch_metalink_file): Likewise. * src/recur.c (retrieve_tree): Likewise. * src/res.c (res_retrieve_file): Likewise. * src/retr.c (retrieve_url, retrieve_from_file): Likewise.
* * src/url.c: Refactored url_error()Tim Rühsen2023-02-181-33/+36
|
* * tests/valgrind-suppressions: Add rule for 'strcmp-sse2.S in libdl.so'Tim Rühsen2023-02-181-0/+8
|
* * configure.ac: Remove CC flags -Wc90-c99-compat and -Wlong-longTim Rühsen2023-02-171-0/+2
|
* * fuzz/*: Use grep >/dev/null instead of grep -qTim Rühsen2023-02-174-4/+4
|
* * src/retr.c: Don't include hash.hTim Rühsen2023-02-171-1/+0
|
* Update copyright yearsTim Rühsen2023-02-17112-113/+112
|
* * gnulib: UpdateTim Rühsen2023-02-171-0/+0
|
* * configure.ac: Disable nettle if NTLM is explicitly disabledTim Rühsen2022-12-111-22/+19
|
* * configure.ac: Allow disabling NTLM if nettle present (Savannah #63431)Tim Rühsen2022-12-101-2/+5
|
* * fuzz/Makefile.am: Add -lz to fuzzer libsTim Rühsen2022-09-241-1/+1
|
* * src/main.c (print_help): Add --retry-on-host-error to help textTim Rühsen2022-03-201-0/+2
|
* Fix HSTS portability by using int64_t instead of time_t.Tim Rühsen2022-03-203-34/+33
| | | | | * src/hsts.c: Use int64_t instead of time_t. * src/http.c: Use int64_t for parsing Strict-Transport-Security.
* src/http.c (time_to_rfc1123): Fix -Wformat-nonliteralTim Rühsen2022-03-201-3/+3
|
* * src/warc.c (warc_process_cdx_line): Fix variable type to idx_tTim Rühsen2022-03-201-1/+1
|
* * src/main.c (secs_to_human_time): Use snprintf instead of sprintfTim Rühsen2022-03-201-4/+4
|
* * src/main.c (main): Remove unused variableTim Rühsen2022-03-201-1/+0
|
* * src/netrc.c (test_parse_netrc): Check if HAVE_FMEMOPEN is definedTim Rühsen2022-03-201-0/+2
|
* maint: post-release administriviaDarshit Shah2022-02-263-2/+5
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* * NEWS: Update NEWS items for releasev1.21.3Darshit Shah2022-02-261-1/+13
|
* * .gitignore: Remove empty line at EOFDarshit Shah2022-02-261-1/+0
|
* * .gitignore: Update fileDarshit Shah2022-02-261-2/+4
|
* * src.hsts.c(hsts_read_database): Use SCNd64 for portable format flagsDarshit Shah2022-02-261-1/+1
|
* * configure.ac: Add some warning flags to ignoreDarshit Shah2022-02-261-0/+4
|
* * cfg.mk: Remove passing syntax-checks from skip listDarshit Shah2022-02-261-12/+3
|
* Fix issues from syntax-checkDarshit Shah2022-02-266-9/+8
| | | | | | | | | | | * doc/wget.texi: s/time stamp/timestamp/ * src/ftp-ls.c(clean_line): Same (ftp_parse_vms_ls): Don't cast return value of x*alloc * src/ftp.c: Don't cast return value of alloca * src/css-url.c: wget.h should be the first include * testenv/Makefile.am: Use $(PATH_SEPARATOR) instead of : when declaring a path * testenv/Test-no_proxy-env.py: s/can not/cannot/
* * Update Copyright yearsDarshit Shah2022-02-26108-108/+108
|
* * bootstrap: Update scriptDarshit Shah2022-02-261-115/+131
|
* * gnulib: Pull forwardDarshit Shah2022-02-261-0/+0
|
* Cleanup some incorrect uses of AM ConditionalsDarshit Shah2022-02-263-18/+19
| | | | | | | | | * configure.ac: Replace IRI_IS_ENABLED with WITH_IRI and METALINK_IS_ENABLED with WITH_METALINK * src/Makefile.am: Add the .c and .h files for IRI, Metalink and Xattr support to wget_SOURCES directly when needed instead of adding them as object files. * testenv/Makefile.am: Rename METALINK_IS_ENABLED to WITH_METALINK
* Replace incorrect usage of AC_LIBOBJ in configure.acDarshit Shah2022-02-262-13/+32
| | | | | | | | | | | | | AC_LIBOBJ is to be used for providing replacement functions for compatibility reasons. Not for conditional compilation of entire source files. Autotools provides other methods for achieving that. However, our build system has (ab-)used the AC_LIBOBJ macros for doing this for over 15 years. That stops today. * configure.ac: Replace uses of AC_LIBOBJ with automake conditionals that can be used in Makefiles * src/Makefile.am: Use the defined conditionals to select which files get built.
* Fix case where installed gettext is newer than minimum versionDarshit Shah2022-02-251-0/+1
| | | | | | | | | * configure.ac: Use AM_GNU_GETTEXT_REQUIRE_VERSION to specify a minimum version of gettext needed. This should allow newer versions of gettext to be copied for autipoint to use when available. This commit hopefully fixes the annoying issue when building from source on a system that has a newer version of gettext.
* * src/netrc.c (test_parse_netrc): Free netrc structureTim Rühsen2022-02-131-0/+3
|
* * .gitlab-ci.yml: Fix path to llvm-symbolizerTim Rühsen2022-02-131-1/+1
|