freebsd-ports/www/mod_dav/files/SYMLINK-mod_dav.h
Edwin Groothuis 81eba088c7 [patch] www/mod_dav - fix symlink problem
While playing with mod_dav, I found out that it didn't
	follow symlinks properly. Looking through various mailinglists
	I found this patch by Mark Montague (markmont@umich.edu)

	I do not say we should include this patch by default, but
	if a knob called WITH_SYMLINK_PATCH could be made which
	adds these patches it would help people already.

PR:		ports/59163
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Approved by:	maintainer timeout
2003-12-20 12:35:43 +00:00

11 lines
350 B
C

--- mod_dav.h.orig Tue Nov 11 14:16:48 2003
+++ mod_dav.h Tue Nov 11 14:17:18 2003
@@ -1431,6 +1431,7 @@
dav_text *propstat_404; /* (cached) propstat giving a 404 error */
+ int is_dir; /* state for dav_fs_walker(): should we recurse? */
/* for COPY and MOVE operations */
int is_move;
dav_buffer work_buf;