ports/www/freenginx-devel/files/extra-patch-ngx_http_auth_ldap_module.c
Jochen Neumeister 08bff538e5 www/freenginx-devel: Add new port
Freenginx is a fork web Server from Nginx

Sponsored by:	Netzkommune GmbH
2024-07-01 10:50:20 +02:00

10 lines
539 B
C

--- ../nginx-auth-ldap-83c059b/ngx_http_auth_ldap_module.c.orig 2022-08-21 17:04:57.754760000 +0300
+++ ../nginx-auth-ldap-83c059b/ngx_http_auth_ldap_module.c 2022-08-21 17:08:46.939318000 +0300
@@ -1779,6 +1779,7 @@
}
r->headers_out.www_authenticate->hash = 1;
+ r->headers_out.www_authenticate->next = NULL;
r->headers_out.www_authenticate->key.len = sizeof("WWW-Authenticate") - 1;
r->headers_out.www_authenticate->key.data = (u_char *) "WWW-Authenticate";
r->headers_out.www_authenticate->value = *realm;