Hubert Tarasiuk
045463b814
Do not free request in establish_connection; do it in gethttp
...
* src/http.c (establish_connection): Do not free request here (it is
* never allocated here).
* src/http.c (gethttp): Free request before returning if error in
* establish_connection encountered.
2015-04-01 17:01:07 +02:00
Hubert Tarasiuk
621c313b94
Transform read_header label and goto into a loop
...
* src/http.c (gethttp): Replace label and goto statement with a do
loop.
2015-04-01 17:00:40 +02:00
Hubert Tarasiuk
52a7d0ad85
Factor out set_content_type function from gethttp
...
* src/http.c (gethttp): Move some code in...
(set_content_type): ... a new function.
2015-03-31 17:00:07 +02:00
Giuseppe Scrivano
59e9ef00e6
Factor out some gethttp code
...
* src/http.c (gethttp): Move some code in...
(open_output_stream): ... a new function.
2015-03-18 12:09:55 +01:00
Giuseppe Scrivano
14bbc18512
Factor out some auth gethttp code
...
* src/http.c (gethttp): Move some code in...
(check_auth): ... a new function.
2015-03-18 12:09:55 +01:00
Giuseppe Scrivano
8aa63e482e
Factor out some gethttp code
...
* src/http.c (gethttp): Move some code in...
(check_file_output): ... a new function.
2015-03-18 12:09:55 +01:00
Giuseppe Scrivano
0bc2757713
Factor out some connection initialization code for gethttp
...
* src/http.c (gethttp): Move some initialization code in...
(establish_connection): ... a new function.
2015-03-18 12:09:55 +01:00
Giuseppe Scrivano
f8abb9dd00
Factor out some proxy initialization code for gethttp
...
* src/http.c (gethttp): Move some initialization code in...
(initialize_proxy_configuration): ... a new function.
2015-03-18 12:09:55 +01:00
Giuseppe Scrivano
29850e77d0
Factor out some initialization code for gethttp
...
* src/http.c (gethttp): Move some initialization code in...
(initialize_request): ... a new function.
2015-03-18 12:09:54 +01:00
Tim Ruehsen
799c545722
src/ftp.c: make sure warc_tmp becomes closed before return
...
Reported-by: Coverity bug #1188044
2015-03-18 10:46:11 +01:00
Tim Ruehsen
014b1d6041
src/http.c: fix error return of digest_authentication_encode()
...
Reported-by: Coverity bug #1188036
2015-03-18 10:46:05 +01:00
Darshit Shah
cc9f76c5a4
retr.c: Fix memory leak in retrieve_from_file()
...
Reported by: Coverity Bug 1188045
2015-03-14 16:48:30 +05:30
Darshit Shah
53b22974cb
html-url.c: Fix potential memory leaks
...
Reported by: Coverity Bug 1188050
2015-03-14 16:48:30 +05:30
Darshit Shah
7d5a7ef9ca
main.c: Fix two potential memory leaks
...
Reported by: Coverity bug 1188048
2015-03-14 16:48:30 +05:30
Darshit Shah
735cc220e3
retr.c: Fix two memory leaks when proxy URL is bad
...
Reported by: Coverity bug 1188047
2015-03-14 16:48:29 +05:30
Giuseppe Scrivano
16f1fb1d1f
maint: update copyright year ranges to include 2015
2015-03-09 16:32:01 +01:00
Yousong Zhou
91e9a20752
Fix --content-on-error option handling.
...
* src/http.c: Log --content-on-error downloads.
* src/retr.c (retrieve_url): Register the download of an error page
when --content-on-error is specified.
2015-03-09 11:45:01 +01:00
Anderson Goulart
882ed28d59
src/main.c (--no-verbose): don't show progress bar
...
Fixes #44431
2015-03-09 00:44:23 +05:30
Darshit Shah
e316d253fa
main.c: Use assertion to test buffer size
2015-03-07 00:38:04 +05:30
Darshit Shah
9dde436dd6
main.c: Need to explicitly disallow show_progress in -q
2015-03-02 21:40:57 +05:30
Eli Zaretskii
33c5d979ce
warc.c: native uuid generation on Windows
...
* warc.c (windows_uuid_str) [WINDOWS]: New function specific to
MS-Windows.
(warc_uuid_str) [WINDOWS]: If windows_uuid_str succeeds, use its
result; otherwise use the fallback method.
2015-02-23 23:36:02 +01:00
Gisle Vanem
9df2250f4c
idn: use idn_free() to free allocated libidn memory
...
xfree() might crash on libidn memory on Windows.
From 'man idn_free':
"Under Windows, different parts of the same application may use different
heap memory, and then it is important to deallocate memory allocated within
the same module that allocated it. This function makes that possible."
2015-02-18 12:50:57 +01:00
Tim Rühsen
3d8e765c1d
gettext: Use gnulib's gettext.h for compatibility
...
Fixes issues with gettext on Solaris
Reported-by: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp>
2015-02-10 09:56:32 +01:00
Tim Rühsen
c83f344564
src/openssl.c: Use SSL_state() instead of ssl_st.state
...
Changes in OpenSSL 1.0.2 API hides ssl_st structure members.
Reported-by: Gisle Vanem <gvanem@yahoo.no>
2015-02-10 09:53:42 +01:00
Darshit Shah
8705e27e20
progress bar: Allow display on stderr alongwith -o
...
This commit causes the --show-progress option to print the progress bar
to stderr even when a logfile was explicitly provided on the command
line. Such a combination allows a user to log the output of Wget while
simultaneously keeping track of the download status.
2015-01-20 20:16:20 +01:00
Mathieu Parent
87f4fee8c9
src/connect.c: More verbose error message (tiny change)
...
This fixes Debian bug #144076 .
2015-01-16 10:18:13 +01:00
Tim Ruehsen
5e3a760731
src/ftp-basic.c: Accept 5-digit port numbers in EPSV responses
...
Reported-by: Adam Sampson <ats@offog.org>
2015-01-04 20:57:15 +01:00
Tim Ruehsen
103cbf1751
src/http.c: Revert commit d81a8d5f56
...
The removal of the 'redundant' condition was a failure.
Fixes : #43876
Reported-by: Sean Jensen-Grey <seanj@xyke.com>
2014-12-27 23:27:20 +01:00
Tim Ruehsen
f6b28575cc
src/main.c, src/warc.c: Use gnulib's base_name() instead of basename()
...
Reported-by: Eli Zaretskii <eliz@gnu.org>
2014-12-25 12:07:42 +01:00
Giuseppe Scrivano
a8d437d827
merge ChangeLog files in ChangeLog-2014-12-10.
...
* ChangeLog: truncate file.
* ChangeLog.README: Likewise.
* doc/ChangeLog: Likewise.
* msdos/ChangeLog: Likewise.
* src/ChangeLog: Likewise.
* testenv/ChangeLog: Likewise.
* tests/ChangeLog: Likewise.
* ChangeLog-2014-12-10: New file.
* Makefile.am: Distribute ChangeLog-2014-12-10.
2014-12-24 11:04:30 +01:00
Eli Zaretskii
fc336758ab
src/utils.c: Don't include termios.h on Windows
2014-12-21 19:10:26 +01:00
Tim Rühsen
cfe7589397
gnulib: Use basename() from gnulib module 'dirname'
...
Avoid basename incompatibilities between POSIX and GNU implementations.
Also, libgen.h isn't needed any more which increases compatibility.
2014-12-21 17:34:14 +01:00
Benno Schulenberg
ee196f6fe5
* src/main.c (print_help): Indent description continuation lines by two spaces.
2014-12-21 14:10:40 +01:00
Benno Schulenberg
0417ef8b50
* src/main.c (print_help): Don't use a possessive instead of a plural.
2014-12-21 14:10:35 +01:00
Benno Schulenberg
56c0098063
* src/main.c (print_help): Don't use the backtick as a left quote mark in the help text.
2014-12-21 14:10:31 +01:00
Benno Schulenberg
712d607f9b
* src/main.c (print_help): Remove the full stops from option descriptions.
...
And use semicolons to separate multiple phrases in a description.
2014-12-21 14:10:25 +01:00
Benno Schulenberg
32499e717d
* src/main.c (print_help): Make all option descriptions start with a lowercase letter.
...
Also spell URL consistently in all uppercase, and fix the grammar.
2014-12-21 14:09:51 +01:00
Yuriy M. Kaminskiy
ec5e0f421c
src/log.c: Fix unexpected termination in logprintf (tiny change)
...
When errno was set to EPIPE before call to logprintf (e.g. during close of
SSL connection that was reset by peer), it will unexpectedly terminate wget.
It should exit only when EPIPE was triggered by logging code.
Regression by 0b5b100fc9
2014-12-17 12:50:06 +01:00
Tim Rühsen
6bc2620592
src/main.c: Conditionally print help for --random-file and --egd-file
...
--random-file is only relevant when compiled with either OpenSSL or LibreSSL.
--egd-file is only relevant when compiled with OpenSSL
2014-12-17 12:39:00 +01:00
Tim Rühsen
b0b1cde6e2
src/init.c: Fix indentation for crlfile option
2014-12-17 12:39:00 +01:00
Jérémie Courrèges-Anglas
b5778699f0
openssl: Detect the availability of RAND_egd (tiny change)
...
Alternatives like LibreSSL don't provide RAND_egd() anymore.
Fixes compilation on OpenBSD.
2014-12-17 11:47:15 +01:00
Jérémie Courrèges-Anglas
b8c567a3ef
Fix use of uuid libc functions (tiny change)
...
* Always attempt to detect uuid.h and uuid_create().
* Split libuuid and uuid.h implementations of warc_uuid_str(), since
those APIs vary significantly.
* Correctly use the uuid.h functions
2014-12-17 09:24:31 +01:00
Darshit Shah
425368c602
Revert "ChangeLog: Move all ChangeLog files to .pre-gitlog"
...
This reverts commit fcd3b3c473
.
Turns out that removing the ChangeLog files causes the Wget build to
fail. While this issue is investigated and sorted out, the commit is
reversed to allow people to be able to build Wget from master
2014-12-16 23:31:36 +05:30
Cong Ma
26790c3583
ftp: fix invalid pointer dereference in getftp() (tiny change)
...
The pointer respline in use after being passed to ftp_response() may be
uninitialized if ftp_response() fails. Ensure that respline be used
after checking the return value of ftp_response().
2014-12-16 15:51:36 +01:00
Darshit Shah
fcd3b3c473
ChangeLog: Move all ChangeLog files to .pre-gitlog
...
From v1.16.1 onwards, Wget no longer maintains an active ChangeLog file.
Instead the ChangeLog will be automatically generated on each release
through gnulib's gitlog-to-changelog script. However, the old versions
of the ChangeLog files are retained for reference. These files are
renamed with a .pre-gitlog appended to their filenames.
Also removed ChangeLog.README file which is not required anymore
2014-12-16 00:51:56 +05:30
Tim Rühsen
eb0789d43f
src/iri.c: Call xstrndup instead of strndup
...
strndup() does not exist in some older C libraries, also xstrndup()
exits on memory allocation failures.
2014-12-12 16:15:51 +01:00
Tim Rühsen
cbaabe78e8
src/iri.c: Use c_strcasestr instead of strcasestr
...
This also fixes a problem with strcasestr not being in the
boostrap.conf module list.
Reported-by: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp>
2014-12-12 15:45:32 +01:00
Friedrich Haubensak
0a4826f4a1
Add support for older versions of flex (tiny change)
...
E.g. flex 2.5.4 (Solaris 10) does not like a space after -o.
2014-12-11 15:18:57 +01:00
Tim Rühsen
94447e31a6
Replace compatibility functions by gnulib functions
2014-12-05 11:57:28 +01:00
Darshit Shah
e6713474c0
Fix indentation in ftp.c (getftp)
2014-12-04 19:24:04 +05:30
Darshit Shah
aaefe8bc83
Remove illogical assertion in ftp.c
...
A call to assert(1) will always fail and cause Wget to crash. If such a
situation does arise, Wget should invoke abort() and provide a useful
error message to the user prior to exiting.
2014-12-04 19:24:04 +05:30
Darshit Shah
4b845615fa
Define MIN and MAx macros in a single location
...
MIN and MAx are macros that a developer will universally expect
throughout the source. Yet, they were being defined in multiple places
across the source. Instead, define them in a single location in the
common wget.h header file and use them consistently everywhere.
2014-12-04 18:36:54 +05:30
Gisle Vanem
aeca2c33c0
Fix C89 warning in src/openssl.c
2014-12-03 20:23:54 +01:00
Gisle Vanem
11c6dcb705
Fix compilation error in src/mswindows.c
2014-12-03 15:04:11 +01:00
Jérémie Courrèges-Anglas
ce088c2b9e
openssl backend: repair use of TLSv1+ protocols
...
The use of TLSv1_client_method() means that the protocol used will be
limited to TLSv1.0. This is not desirable for --secure-protocol values
of "auto" (default) and "pfs". Fix by using SSLv23_client_method() and
disabling SSLv[23].
Issue reported by Mikolaj Kucharski.
2014-12-03 09:24:20 +05:30
Tim Rühsen
e4583ab364
Fix issues reported by static code analysis tool 'parfait'
...
Closes : #41235
Reported-by: Jiri Kukacka
2014-12-01 20:39:44 +01:00
Tim Ruehsen
4850e9c873
Replaced xfree_null() by xfree() and nullify argument after freeing.
2014-12-01 16:15:37 +01:00
Tim Ruehsen
d9325f5db5
Fix length of program_argstring in main.c
2014-11-28 22:40:19 +01:00
Tim Ruehsen
5d3b52d0b8
Remove gettext.h from Makefile.am
2014-11-28 21:39:31 +01:00
Tim Rühsen
e194c1dfd3
Get rid of gettext.h
2014-11-28 11:27:58 +01:00
Darshit Shah
3e609a1192
Replace all occurences of free() with xfree()
2014-11-27 11:11:34 +05:30
Tim Ruehsen
5edc97f3f8
Select most secure challenge from WWW-Authenticate
...
This patch also adds support for multiple challenges per
WWW-Authenticate header line.
The test Test-auth-both.py now succeeds and thus is taken away
from XFAIL_TESTS (expected to fail tests).
2014-11-26 16:41:56 +01:00
Tim Rühsen
007bee88d8
GnuTLS support for --secure-protocol=TLSv1_1|TLSv1_2
...
The code seemed to be forgotten.
Also added a message before aborting Wget in such a case.
2014-11-26 12:49:21 +01:00
Tim Rühsen
d87fdecd55
Add space after function names
2014-11-26 12:39:47 +01:00
Tim Rühsen
54227091b8
Fix blacklisting of URLs to download
...
Fixes a reported crash and prevents multiple downloads of the
same file in case the URL is escaped in different ways.
Reported-by: Frédéric <vfrederix@gmail.com>
2014-11-26 11:19:41 +01:00
Pär Karlsson
1853e425f5
Added missing version.h to Makefile.am
2014-11-26 09:27:47 +01:00
Tim Rühsen
255133326b
Fix possibly uninitialized variable
2014-11-24 12:00:21 +01:00
Tim Rühsen
0c18773308
Add size of buffer to warc_timestamp()
2014-11-24 10:41:08 +01:00
Tim Rühsen
9217b864d8
Make program_name and program_argstring const
2014-11-24 10:20:51 +01:00
Tim Rühsen
5e2ecaf277
Fix C89 compile errors using ./configure --without-libuuid
2014-11-24 09:44:48 +01:00
Darshit Shah
cd23c7fe0e
Supplement logical assumption assert with error message
2014-11-22 21:27:55 +05:30
Darshit Shah
ed996fe32f
Remove defensive assert in cookies.c
2014-11-22 21:25:38 +05:30
Darshit Shah
1b8e54b808
Add extern declaration for program_arsgstring
...
In test.c, this patch changes the type of program_argstring to char *
from a const char *. This is because, we use a char * string in the rest
of the program and declare an extern accordingly. Removing the const
type helps in keeping the code cleaner at no extra cost.
2014-11-22 17:26:06 +05:30
Darshit Shah
eab0f5d222
Make extern declaration for program_name
2014-11-22 17:26:06 +05:30
Darshit Shah
e94a542d0f
Declare extern numurls in common header
2014-11-22 17:26:06 +05:30
Darshit Shah
b6de436547
Fix missing extern declaration error for build_info.pl
2014-11-22 17:26:06 +05:30
Darshit Shah
c6b750061a
Add extern declaration for version.c strings
2014-11-22 17:26:06 +05:30
Darshit Shah
b41a3a6568
Mark unused paramter in utils.c
2014-11-22 17:26:05 +05:30
Daniel Stenberg
09d47ead18
Fix compiler warning in src/iri.c
2014-11-21 10:43:14 +01:00
Darshit Shah
00203b2888
Revert "remote_to_utf8: cut off part of condition always false"
...
This reverts commit 1553c70961
.
Some architectures like arm64 and ppc64 have unsigned chars where this
commit will cause problems.
2014-11-21 14:19:48 +05:30
Daniel Stenberg
1553c70961
remote_to_utf8: cut off part of condition always false
...
A signed char is never larger than 127.
2014-11-21 13:59:04 +05:30
Tim Ruehsen
bc75d2ecdf
Fix code for undefined USE_NLS_PROGRESS_BAR in progress.c
...
Reported-by: Gisle Vanem
2014-11-20 21:48:04 +01:00
Gisle Vanem
e15ef0b4da
Assume large-file support for WINDOWS
2014-11-20 21:37:24 +01:00
Tim Rühsen
3c51ad7f02
Removed form feeds from sources and NEWS
2014-11-20 16:35:34 +01:00
Gisle Vanem
6a9b2d36e1
Fix C89 issue in http.c found by MSVC 16
2014-11-20 16:20:20 +01:00
Darshit Shah
d9f21b4b95
Aesthetic changes to progress bar
2014-11-20 16:43:47 +05:30
Tim Rühsen
7b43510fe3
Fixes possible issues with Wget running in a turkish locale
2014-11-20 10:56:21 +01:00
Tim Rühsen
1356e90a14
Trivial fixes for C89 compliancy
2014-11-20 09:56:57 +01:00
Darshit Shah
f9646a0c14
Fix potential memory leak in main.c
2014-11-19 23:39:22 +05:30
Darshit Shah
1ce1a40f94
Fix memory leak in utils.c
2014-11-19 21:55:30 +05:30
Tim Rühsen
7a7a241e5b
Use random() and srandom() if available.
...
Reported-by: Coverity scanner
2014-11-19 16:06:19 +01:00
Tim Rühsen
18fe274e1c
Fix loop check in FTP code
...
Reported-by: Coverity scanner
2014-11-19 16:05:55 +01:00
Darshit Shah
c6ee033425
Make 504 Gateway Timeout non fatal
2014-11-19 18:03:17 +05:30
Tim Rühsen
0c1bff841b
Fix memory leak in OpenSSL code
2014-11-19 12:09:04 +01:00
Tim Rühsen
f518d6cea1
Report load failure of cert files only with --debug
...
Fixes #41331
2014-11-19 11:26:20 +01:00
Tim Ruehsen
50ec4d9c3d
Fix warnings from clang-analyzer 3.6
2014-11-18 20:44:56 +01:00
Tim Rühsen
94b8458af1
Fix possible authentication problem with turkish locale
...
The test server now treats authentication schemes case-independent.
2014-11-18 12:49:52 +01:00
Tim Rühsen
db621341a4
Code cleanup for redirect_output_signal()
...
Also fixes a compiler warning for 'make check'.
2014-11-17 11:46:57 +01:00
Tim Rühsen
2ece0cc425
Remove 'make check'compiler warnings
2014-11-17 11:28:20 +01:00
Tom Li
6c989c7131
Scroll to last character of filename in progress
2014-11-16 12:03:10 +05:30
Darshit Shah
94805ad55a
Fix progress bar assertion
2014-11-15 00:13:13 +05:30
Tim Rühsen
897ef07712
Fix error handling for CRL loading in OpenSSL code
2014-11-12 15:38:21 +01:00
Witchakorn Kamolpornwijit
6e259b76b7
Fix range check in map_html_tags()
2014-11-12 15:22:15 +01:00
Tim Rühsen
cf4991d602
Added OpenSSL support for --crl-file
2014-11-12 10:00:51 +01:00
Tim Rühsen
176c2b17fc
Add 'Accept-Encoding: identity' to request header
...
Fixes bug #40819
Reported-by: Noël Köthe <noel@debian.org>
2014-11-11 20:05:21 +01:00
Tim Rühsen
9823dc1989
Fix missing _Noreturn declaration specifiers in src/main.c
...
Reported-by: Gisle Vanem <gvanem@yahoo.no>
2014-11-11 16:34:57 +01:00
Tim Rühsen
2457715e7d
Fix OpenSSL compile-time check for TLSv1.1 and TLSv1.2
...
Reported-by: Velemas Vosak <velemas@gmail.com>
2014-11-11 15:09:41 +01:00
Tim Rühsen
e4a8fe84e2
Added --crl-file to load a Certificate Revocation List (CRL) file
...
Reported-by: Noël Köthe <noel@debian.org>
2014-11-11 15:06:51 +01:00
Darshit Shah
170a469533
Honour Keep-Alive when range not satisfiable
2014-11-09 14:33:13 +05:30
Darshit Shah
d81a8d5f56
Remove redundant condition eval
2014-11-09 14:20:22 +05:30
Tim Ruehsen
7259c30929
Fix segmentation fault on do_conversion() failure
...
Having an unknown local encoding made Wget crash.
We also fix a wrong 'Conversion from ...' message and
changed two logging messages into debug messages.
Reported-by: Mikael Magnusson <mikachu@gmail.com>
2014-11-05 21:57:18 +01:00
Matthew Atkinson
e0f149d29d
Always send Content-Length with POST, PUT, PATCH
2014-11-05 08:42:51 +01:00
Jakub Čajka
981c7456ff
* iri.c (remote_to_utf8): Fixed assumption that char is signed.
...
Fixes fellowing test case failures idn-cmd-utf8, idn-robots-utf8,
if char is unsigned.
2014-11-03 15:43:55 +01:00
Tim Rühsen
e52879514f
* src/log.c: turn on automatic format check for log_vprintf_internal()
2014-11-03 09:22:47 +01:00
Darshit Shah
35bfcb34b0
Remove extra padding from the progress bar
2014-11-01 23:38:07 +05:30
Giuseppe Scrivano
ea97693b54
http: Always check for "Connection: close" presence
2014-11-01 13:22:07 +01:00
Tim Rühsen
fb8f81040a
make _get_rfc2253_formatted static
2014-10-31 09:25:21 +01:00
Tim Rühsen
4ea40809cb
fix implicit decl warning
2014-10-30 15:44:04 +01:00
Tim Rühsen
c2bb6bc875
fix memory leak
2014-10-30 11:05:07 +01:00
Tim Rühsen
a5c6ae8f28
use CLOSE_INVALIDATE instead of fd_close
2014-10-30 11:05:07 +01:00
Tim Rühsen
42333c4a5e
always set fd invalid after close
2014-10-30 11:05:07 +01:00
Tim Rühsen
a6c2ba73d9
fix memory leak in openssl.c
2014-10-30 11:04:52 +01:00
Peter Meiser
c81e3df2bc
Add guard for OpenSSL without SSLv3
2014-10-29 19:27:11 +01:00
Tim Rühsen
148065bc00
content for commit 6092205538
2014-10-29 16:18:01 +01:00
Tim Ruehsen
4152e98bb0
content for commit 605d9053e5
2014-10-28 20:21:33 +01:00
Tim Rühsen
6092205538
fixing several memory leaks
2014-10-28 16:56:34 +01:00
Giuseppe Scrivano
e5cb0f77e6
Revert "Replace @VAR@ in Makefile.am files with $VAR"
...
This reverts commit d1ab00cab4
.
Conflicts:
tests/Makefile.am
2014-10-28 10:42:50 +01:00
Darshit Shah
69c45cba43
Add checks for valid listing file in FTP
...
When Wget retrieves a file through FTP, it first downloads a .listing
file and parses it for information about the files and other metadata.
Some servers may serve invalid .listing files. This patch checks for one
such known inconsistency wherein multiple lines in a listing file have
the same name. Such a filesystem is clearly not possible and hence we
eliminate duplicate entries here.
Signed-off-by: Darshit Shah <darnir@gmail.com>
2014-10-27 09:18:13 +01:00
Darshit Shah
18b0979357
CVE-2014-4877: Arbitrary Symlink Access
...
Wget was susceptible to a symlink attack which could create arbitrary
files, directories or symbolic links and set their permissions when
retrieving a directory recursively through FTP. This commit changes the
default settings in Wget such that Wget no longer creates local symbolic
links, but rather traverses them and retrieves the pointed-to file in
such a retrieval.
The old behaviour can be attained by passing the --retr-symlinks=no
option to the Wget invokation command.
2014-10-27 09:18:13 +01:00
Giuseppe Scrivano
c986ea790c
Fix ChangeLog entry
2014-10-27 09:14:56 +01:00
Tim Ruehsen
3e3073ca7b
add TLSv1_1 and TLSv1_2 to --secure-protocol
2014-10-23 21:16:37 +02:00
Ángel González
601b282cd8
css-url.c (get_uri_string): Fix regression from 8e6de1fb5
...
Solves the issue discovered by Gabriel Somlo and reported in the ml thread
"Regression in git master branch (commit 8e6de1fb5f
)"
2014-10-22 20:26:28 +02:00
Tim Rühsen
bc347cc36f
fixed IRI misbehaviour(s)
2014-10-20 08:53:12 +02:00
Tim Ruehsen
6fc11e46ec
do not use SSLv3 except explicitely requested
2014-10-19 21:57:06 +02:00
Tim Rühsen
8c2d9afd08
fixed memleak in retrieve_url()
2014-09-30 20:50:06 +05:30
Darshit Shah
efe090df89
Handle multibyte characters in progressbar
...
This commit fixes a bug in the progressbar implementation wherein
filenames with multibyte characters were not handled correctly.
2014-09-14 16:17:00 +05:30
Darshit Shah
eab853b7e6
Plug memory leaks
2014-07-24 14:23:43 +05:30
Daniel Stenberg
3d7797c46e
main.c: update the --method description
...
The first line of a HTTP request is not a header, it is the start-line,
which for requests is called the request-line.
See http://tools.ietf.org/html/rfc7230#section-3.1
2014-07-23 18:46:21 +05:30
Darshit Shah
a44841cbe2
Fix potential memory leak and libpsl configure
2014-07-21 13:25:54 +05:30
Tomas Hozza
e43ae39dff
Fix checking of iconv_open return code.
...
Based on libiconv documentation, the iconv_open function returns
(iconv_t)(-1).
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2014-07-08 17:01:17 +02:00
Darshit Shah
c5f2c7fcef
Convert domains to lowercase before libpsl checks
2014-07-05 16:21:40 +05:30
Darshit Shah
550cd6e9d2
Fix indentation and remove excess variable
2014-07-05 16:18:38 +05:30
Darshit Shah
97ce41b2d0
Remove unused error codes
2014-07-05 16:18:31 +05:30
Giuseppe Scrivano
416d0e892c
convert: initialize variable before usage.
2014-06-30 11:35:46 +02:00
Giuseppe Scrivano
e2c8436e17
warc: Avoid out-of-scope variable usage
2014-06-29 11:22:44 +02:00
Giuseppe Scrivano
ebda24eb69
Remove tab-space indentation
2014-06-28 17:53:42 +02:00
Giuseppe Scrivano
601401da71
warc: Fix UUID generation on FreeBSD
2014-06-24 15:05:19 +02:00
Darshit Shah
f3289f76ec
Better align download percentage status
2014-06-22 14:53:24 +05:30
Giuseppe Scrivano
26787225c1
Fix build error on Windows
2014-06-21 18:41:49 +02:00
Nikita Vetrov
104fd20ac3
Add GOST94-GOST89-GOST89 and other ciphers support
...
It is done via one-time call OPENSSL_config. It will fix this error
`OpenSSL: error:140920F8:SSL routines:SSL3_GET_SERVER_HELLO:unknown
cipher returned`. OpenSSL with GOST-support and rebuilding wget
required
2014-06-21 18:33:41 +02:00