Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
293def6
)
Call base4_encode() with "1" for its new "pad" arg so that the
author
Wayne Davison
<wayned@samba.org>
Mon, 6 Mar 2006 18:22:26 +0000
(18:22 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 6 Mar 2006 18:22:26 +0000
(18:22 +0000)
Proxy-Authorization header is properly padded with trailing '='
chars.
socket.c
patch
|
blob
|
blame
|
history
diff --git
a/socket.c
b/socket.c
index
47f7ce1
..
c850cd3
100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-64,7
+64,7
@@
static int establish_proxy_connection(int fd, char *host, int port,
return -1;
}
- base64_encode(buffer, len, authbuf);
+ base64_encode(buffer, len, authbuf
, 1
);
authhdr = "\r\nProxy-Authorization: Basic ";
} else {
*authbuf = '\0';