openbsd-ports/www/mod_fastcgi/patches/patch-mod_fastcgi_c
2005-02-14 06:23:23 +00:00

13 lines
568 B
Plaintext

--- mod_fastcgi.c.orig Thu Oct 30 02:08:34 2003
+++ mod_fastcgi.c Mon Feb 14 06:54:32 2005
@@ -1074,7 +1074,8 @@ static int open_connection_to_fs(fcgi_re
{
socket_path = fcgi_util_socket_hash_filename(rp, fr->fs_path, fr->user, fr->group);
socket_path = fcgi_util_socket_make_path_absolute(rp, socket_path, 1);
-
+ ap_server_strip_chroot((char *) socket_path, 0);
+
#ifndef WIN32
err = fcgi_util_socket_make_domain_addr(rp, (struct sockaddr_un **)&socket_addr,
&socket_addr_len, socket_path);