Compare commits

...
3 Commits
Author SHA1 Message Date
Denys Vlasenko 981c0b109d Bump version to 1.29.1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-07-15 14:55:20 +02:00
Raffaello D. Di Napoli 6673497d3b sendmail: fix parsing of addresses in angle brackets
Pointer e needs to be wound back in order to overwrite '>' with '\0'.
Regression introduced in 20077c1429

Signed-off-by: Raffaello D. Di Napoli <rafdev@dinapo.li>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-07-15 14:52:21 +02:00
Denys Vlasenko 7236b6d717 wget: fix fetching of https URLs without http proxy
The "fix fetching of https URLs with http proxy" commit
broke the usual http-to-https redirect:

$ wget http://busybox.net/downloads/busybox-1.29.0.tar.bz2
Connecting to busybox.net (140.211.167.122:80)
Connecting to busybox.net (140.211.167.122:443)
wget: server returned error: HTTP/1.1 400 Bad Request

Fixing...

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-07-15 14:52:21 +02:00
3 changed files with 3 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
VERSION = 1
PATCHLEVEL = 29
SUBLEVEL = 0
SUBLEVEL = 1
EXTRAVERSION =
NAME = Unnamed
+1 -1
View File
@@ -173,7 +173,7 @@ static char *angle_address(char *str)
char *s, *e;
e = trim(str);
if (e != str && e[-1] == '>') {
if (e != str && *--e == '>') {
s = strrchr(str, '<');
if (s) {
*e = '\0';
+1
View File
@@ -1335,6 +1335,7 @@ However, in real world it was observed that some web servers
/* server.user remains untouched */
free(server.allocated);
server.allocated = NULL;
server.protocol = target.protocol;
server.host = target.host;
/* strip_ipv6_scope_id(target.host); - no! */
/* we assume remote never gives us IPv6 addr with scope id */