summaryrefslogtreecommitdiffstats
path: root/www/links/files
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2001-02-22 09:25:11 +0000
committerdemon <demon@FreeBSD.org>2001-02-22 09:25:11 +0000
commit7b8b622fede7cd0791e1aa7a4420bb92985af546 (patch)
tree21f155a2b6eb158c1269e1eb31fc11f8a76ae53e /www/links/files
parent8a07f171c827f0403e36d4733ea2842270f2081e (diff)
downloadFreeBSD-ports-7b8b622fede7cd0791e1aa7a4420bb92985af546.zip
FreeBSD-ports-7b8b622fede7cd0791e1aa7a4420bb92985af546.tar.gz
Enable Authentication.
Bump PORTREVISION. Submitted by: Ollivier Robert <roberto@eurocontrol.fr>
Diffstat (limited to 'www/links/files')
-rw-r--r--www/links/files/patch-ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/links/files/patch-ac b/www/links/files/patch-ac
new file mode 100644
index 0000000..1d82917
--- /dev/null
+++ b/www/links/files/patch-ac
@@ -0,0 +1,19 @@
+--- http.c.orig Thu Feb 22 12:21:56 2001
++++ http.c Thu Feb 22 12:22:44 2001
+@@ -540,14 +540,14 @@
+ e->redirect_get = h == 303;
+ }
+ }
+- /*if (h == 401) if ((d = parse_http_header(e->head, "WWW-Authenticate", NULL))) {
++ if (h == 401) if ((d = parse_http_header(e->head, "WWW-Authenticate", NULL))) {
+ if (!strncasecmp(d, "Basic", 5)) {
+ add_auth_entry(host, get_param(d, "realm"));
+ add_questions_entry(do_auth_dialog);
+ setcstate(c, S_QUESTIONS);
+ }
+ mem_free(d);
+- }*/
++ }
+ kill_buffer_data(rb, a);
+ c->cache = e;
+ info->close = 0;
OpenPOWER on IntegriCloud