openbsd-ports/www/mod_fastcgi/patches/patch-mod_fastcgi_c

13 lines
578 B
Plaintext
Raw Normal View History

--- mod_fastcgi.c.orig Sun Nov 9 15:31:03 2008
+++ mod_fastcgi.c Wed Jan 28 23:45:46 2009
@@ -1073,7 +1073,8 @@ static int open_connection_to_fs(fcgi_request *fr)
{
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);