📄 changelog
字号:
2005-10-13 Daniel Stenberg <daniel@haxx.se> * http-ntlm.c (ntlm_output): Fixed buffer overflow vulnerability.2005-08-26 Jeremy Shapiro <jnshapiro@gmail.com> * openssl.c (ssl_init): Set SSL_MODE_AUTO_RETRY.2005-08-11 Hrvoje Niksic <hniksic@xemacs.org> * cmpt.c (strtoll): Define it if missing on the system and if Wget needs it. * mswindows.c (str_to_int64): Move to cmpt.c and rename to strtoll.2005-08-09 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Don't read more than the amount of data specified by the content-length header.2005-08-09 Vasil Dimov <vd@datamax.bg> * ftp.c (getftp): Don't free RESPLINE if ftp_response returns a status other than FTPOK.2005-08-04 Giuseppe Bonacci <g.bonacci@libero.it> * ftp-ls.c (ftp_parse_unix_ls): Remember the position of the previous token instead of backtracking back to it.2005-07-06 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): When freeing MESSAGE, take into account that it can be NULL.2005-07-05 Hrvoje Niksic <hniksic@xemacs.org> * cmpt.c (timegm): Handle years after 2099.2005-07-05 Hrvoje Niksic <hniksic@xemacs.org> * cmpt.c (timegm): New function, used where timegm is unavailable.2005-07-05 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Don't print the request write error message twice. (http_atotm): Use timegm instead of mktime_from_utc.2005-07-04 Hrvoje Niksic <hniksic@xemacs.org> * xmalloc.c (debugging_free): Prefix hex pointer value with "0x" when printing.2005-07-03 Hrvoje Niksic <hniksic@xemacs.org> * mswindows.h: Also wrap accept() and listen().2005-07-02 Hrvoje Niksic <hniksic@xemacs.org> * host.c: Don't include "connect.h" now that we no longer have socket_has_inet6. * host.c: Remove extraneous include of netdb.h.2005-07-02 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Skip error message body in the keep-alive case.2005-07-01 Hrvoje Niksic <hniksic@xemacs.org> * url.c (url_parse): Don't crash on []-delimited IPv6 addresses followed by garbage.2005-07-01 Hrvoje Niksic <hniksic@xemacs.org> * main.c (print_help): Don't refer to the non-existent -nr in description of --mirror.2005-06-28 Hrvoje Niksic <hniksic@xemacs.org> * init.c (parse_line): Check for alphanumerics.2005-06-28 Hrvoje Niksic <hniksic@xemacs.org> * ftp.c (getftp): Delete trailing newlines from LIST output so lines don't come out with trailing \015\012 with -S.2005-06-27 Hrvoje Niksic <hniksic@xemacs.org> * cookies.c: Make cookies_now static.2005-06-27 Hrvoje Niksic <hniksic@xemacs.org> * utils.c (human_readable): Remove intermediary cast to long; MSVC has problems casting *unsigned* __int64 to double.2005-06-27 Hrvoje Niksic <hniksic@xemacs.org> (get_grouping_data): Restore LC_NUMERIC after querying thousand grouping info.2005-06-27 Hrvoje Niksic <hniksic@xemacs.org> * utils.c (get_grouping_data): Would omit separators in C locale.2005-06-27 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Improve "POST data file missing" error message.2005-06-27 Hrvoje Niksic <hniksic@xemacs.org> * utils.c (add_thousand_seps): Add thousand separators using the character and grouping rules appropriate for the locale, with the exception that "," and 3-digit groups are used in the locales that don't specify thousand separators. (For compatibility with the output of Wget 1.10.) Based on with_thousand_seps from the trunk.2005-06-27 Hrvoje Niksic <hniksic@xemacs.org> * Makefile.in: Don't remove .libs; adapt to the use of AC_LIB_HAVE_LINKFLAGS.2005-06-26 Gisle Vanem <giva@bgnett.no> * mswindows.h: Define gai_strerror under MinGW.2005-06-25 Hrvoje Niksic <hniksic@xemacs.org> * cookies.c (parse_set_cookies): Cast pointer subtraction to int before using it with %d; AIX compiler warns on this. Reported by Jens Schleusener.2005-06-26 Hrvoje Niksic <hniksic@xemacs.org> * progress.c (create_image): Don't unnecessarily call with_thousand_seps twice.2005-06-25 Hrvoje Niksic <hniksic@xemacs.org> * utils.c (with_thousand_seps_sum): Decrease buffer size so it cannot overrun add_thousand_seps's buffer.2005-06-25 Hrvoje Niksic <hniksic@xemacs.org> * utils.c (SPRINTF_WGINT): The correct format is %I64d, not just %I64.2005-06-25 Hrvoje Niksic <hniksic@xemacs.org> * http.c (http_loop): Don't warn about wildcards in HTTP URLs if globbing isn't requested in the first place. * retr.c (retrieve_url): Temporarily turn off globbing when processing HTTP->FTP redirects.2005-06-25 Hrvoje Niksic <hniksic@xemacs.org> * utils.c (with_thousand_seps_sum): Now defined only if SUM_SIZE_INT is double. * wget.h (SUM_SIZE_INT): Instead of bothering with long, long long, __int64, and friends, simply either use wgint or double, end of story. Since we know how to print either, we no longer need LARGE_INT_FMT. * sysdeps.h (LARGE_INT): Renamed to SUM_SIZE_INT to better reflect its intent, and moved to wget.h.2005-06-24 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Don't prepend / here. * cookies.c (cookie_handle_set_cookie): Prepend / to PATH. (cookie_header): Ditto.2005-06-23 Hrvoje Niksic <hniksic@xemacs.org> * utils.c (read_file): Ditto. * main.c (main): Use struct_fstat. * mswindows.h (struct_fstat): Define a struct_fstat to deal with the fact that Borland 5.5 has 64-bit stat, but not 64-bit fstat!2005-06-22 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Only handle --set-cookies (and assert that cookie jar exists) if opt.cookies is true. Failure to do so triggered the assert when --no-cookies was used and the server sent a Set-Cookie header. Ouch!2005-06-22 Hrvoje Niksic <hniksic@xemacs.org> * Makefile.in: Remove the manually maintained dependency list; make all object files depend on every header.2005-06-19 Hrvoje Niksic <hniksic@xemacs.org> * init.c (cmd_lockable_boolean): Don't recognize literal "2" and "-1" values; unlike 0 and 1, those should never be exposed to the user. Update the error message to be more self-consistent, as proposed by Benno Schulenberg.2005-06-18 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Don't free "head" before using it to save headers.2005-06-18 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): When -E is in use, check for file existence after appending ".html" to the name and modify the file name if necessary.2005-06-17 Hrvoje Niksic <hniksic@xemacs.org> * connect.c (socket_has_inet6): Removed. * host.c (lookup_host): Don't use the AI_ADDRCONFIG getaddrinfo hint.2005-06-16 Hrvoje Niksic <hniksic@xemacs.org> * init.c (cmd_lockable_boolean): Improve the error message so it lists the more useful values first.2005-06-15 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Also report the system error when the POST data file is missing.2005-06-15 Benno Schulenberg <benno@nietvergeten.nl> * ftp.c, http.c, connect.c, cookies.c, html-url.c, init.c, res.c: Gettext-ize messages that were previously missed.2005-06-15 Hrvoje Niksic <hniksic@xemacs.org> * host.h (ip_address): Remove the trailing comma from the type enum in the no-IPv6 case. * main.c (struct cmdline_option): Remove the trailing comma from the enum. Reported by Jens Schleusener.2005-05-30 Hrvoje Niksic <hniksic@xemacs.org> * url.c (strpbrk_or_eos): Check for a recent GCC version before using the statement-as-expression extension.2005-05-30 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Don't attempt to "skip short body" if we're issuing a HEAD request (in which case the response head is not followed by a body).2005-05-30 Hrvoje Niksic <hniksic@xemacs.org> * init.c (cmd_spec_header): Don't split the string along the commas using cmd_vector; just append the new value using vec_append instead. * utils.c (vec_append): New function.2005-05-27 Andreas Beckmann <debian@abeckmann.de> * html-url.c (tag_handle_link): Mark the content from the <link src="..."> tag as expecting HTML.2005-05-24 Hrvoje Niksic <hniksic@xemacs.org> * http.c (http_atotm): Document the origin of the "cookie date" format.2005-05-21 Hrvoje Niksic <hniksic@xemacs.org> * init.c (setval_internal): Report exact command name alongside the "display name".2005-05-18 Hrvoje Niksic <hniksic@xemacs.org> * cookies.c (update_cookie_field): Explicitly cast -1 to time_t to cope with systems where time_t is unsigned. * cookies.c: Remove unnecessary casts to time_t from values already of that type.2005-05-17 Hrvoje Niksic <hniksic@xemacs.org> * ftp.c (ftp_loop_internal): Same here. * http.c (http_loop): Don't clobber the file when -c is specified and the first attempt to retrieve the file fails.2005-05-16 Hrvoje Niksic <hniksic@xemacs.org> * openssl.c (ssl_check_certificate): Print all issues with a certificate.2005-05-16 Hrvoje Niksic <hniksic@xemacs.org> * ftp-basic.c: Don't xfree() the line returned by ftp_response if the returned code is not FTPOK.2005-05-16 Hrvoje Niksic <hniksic@xemacs.org> * init.c (cleanup): Don't free the non-existent opt.ftp_acc. Free the SSL-related stuff.2005-05-16 Hrvoje Niksic <hniksic@xemacs.org> * ftp.c (print_length): Consistently print \n at end of the "Length" line.2005-05-14 Hrvoje Niksic <hniksic@xemacs.org> * openssl.c (ssl_connect): Announce the beginning and the end of the SSL handshake when in debug mode. * wget.h (PTR_FORMAT): New macro for easier printing of pointer values. Use %0*lx along with PTR_FORMAT instead of %p.2005-05-14 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Would forget to close the connection when keep_alive was not used.2005-05-13 Hrvoje Niksic <hniksic@xemacs.org> * openssl.c (pattern_match): Document the code that decides whether "*" matches ".".2005-05-12 Hrvoje Niksic <hniksic@xemacs.org> * ftp-ls.c (ftp_index): Use %d to print the port number, which is now int. From Steven M. Schweda's VMS patches.2005-05-12 Hrvoje Niksic <hniksic@xemacs.org> * url.c (rewrite_shorthand_url): Don't rewrite "https://host" to "ftp://https//host" when SSL is not used.2005-05-11 Hrvoje Niksic <hniksic@xemacs.org> * openssl.c (ssl_check_server_identity): Renamed to ssl_check_certificate because it does more than just checking the server's identity. (ssl_check_certificate): Tell the user about --no-check-certificate.2005-05-11 Hrvoje Niksic <hniksic@xemacs.org> * openssl.c (ssl_init): Always use SSL_VERIFY_NONE, so that the handshake finishes even if the certificate is invalid. That way ssl_check_server_identity can provide better diagnostics on why the verification failed.2005-05-11 Hrvoje Niksic <hniksic@xemacs.org> * openssl.c (pattern_match): New function. (ssl_check_server_identity): Treat peer certificate common name as wildcard.2005-05-10 Hrvoje Niksic <hniksic@xemacs.org> * openssl.c (ssl_check_server_identity): Print certificate subject and issuer.2005-05-10 Hrvoje Niksic <hniksic@xemacs.org> * res.c (res_register_specs): Correctly pass pointers to hash_table_get_pair.2005-05-10 Hrvoje Niksic <hniksic@xemacs.org> * http.c (gethttp): Call ssl_check_server_identity. * openssl.c (ssl_check_server_identity): New function, verifies that the host name in the certificate matches the actual host name. (verify_cert_callback): Removed, since it didn't do anything except returning the preverify_ok argument. * connect.c (fd_transport_context): Allow retrieval of the context pointer registered with fd_register_transport.2005-05-09 Hrvoje Niksic <hniksic@xemacs.org> * openssl.c (verify_cert_callback): Renamed from verify_callback. Always return the received "ok" value. Print the X509 name in debug mode. (ssl_init): Enable partial writes in SSL context.2005-05-08 Hrvoje Niksic <hniksic@xemacs.org> * http.c (http_loop): Check for wildcards in the URL path component, not in the whole URL. * ftp.c (ftp_loop): Check for wildcards in URL path before unescaping, so the users can escape globbing metacharacters with % escapes.2005-05-08 Hrvoje Niksic <hniksic@xemacs.org> * init.c (run_command): Correctly interpret the return value of parse_line. (commands): Re-alphabetize.2005-05-08 Hrvoje Niksic <hniksic@xemacs.org> * netrc.c (parse_netrc): Explicitly check for assignment != NULL to silence warning from Borland C.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -