diff options
| author | 2017-12-14 21:19:47 +0000 | |
|---|---|---|
| committer | 2017-12-14 21:19:47 +0000 | |
| commit | 0cc11a24fe67250b6e09abc5b46feeebef4ce7b7 (patch) | |
| tree | 24670da7649682fe270e5b4d45a73807f3a855a3 /usr.sbin/httpd/server_http.c | |
| parent | Replace ED25519's private SHA-512 implementation with a call to the (diff) | |
| download | wireguard-openbsd-0cc11a24fe67250b6e09abc5b46feeebef4ce7b7.tar.xz wireguard-openbsd-0cc11a24fe67250b6e09abc5b46feeebef4ce7b7.zip | |
set Location header for 307 and 308 status codes
ok sthen@ phessler@
Diffstat (limited to 'usr.sbin/httpd/server_http.c')
| -rw-r--r-- | usr.sbin/httpd/server_http.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/httpd/server_http.c b/usr.sbin/httpd/server_http.c index e64de0d2f9c..414e297f082 100644 --- a/usr.sbin/httpd/server_http.c +++ b/usr.sbin/httpd/server_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server_http.c,v 1.117 2017/05/15 10:40:47 jsg Exp $ */ +/* $OpenBSD: server_http.c,v 1.118 2017/12/14 21:19:47 benno Exp $ */ /* * Copyright (c) 2006 - 2017 Reyk Floeter <reyk@openbsd.org> @@ -875,6 +875,8 @@ server_abort_http(struct client *clt, unsigned int code, const char *msg) case 301: case 302: case 303: + case 307: + case 308: if (msg == NULL) break; memset(buf, 0, sizeof(buf)); |
