aboutsummaryrefslogtreecommitdiff
path: root/lang/php53/files
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2008-09-04 13:55:11 +0000
committerAlex Dupre <ale@FreeBSD.org>2008-09-04 13:55:11 +0000
commit067f51c23a1e6f413d0abb965b71fc97d18a6421 (patch)
tree45e6e224bc2f9db65e9d4bf49e8a33127a506a07 /lang/php53/files
parente04835105a1f7aa6c65b7e978a37182a18c9b2e6 (diff)
Notes
Diffstat (limited to 'lang/php53/files')
-rw-r--r--lang/php53/files/patch-main_safe_mode.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/php53/files/patch-main_safe_mode.c b/lang/php53/files/patch-main_safe_mode.c
new file mode 100644
index 000000000000..4b0d4e1c531c
--- /dev/null
+++ b/lang/php53/files/patch-main_safe_mode.c
@@ -0,0 +1,17 @@
+--- main/safe_mode.c.orig 2008-09-04 15:52:19.000000000 +0200
++++ main/safe_mode.c 2008-09-04 15:52:35.000000000 +0200
+@@ -74,14 +74,6 @@
+ }
+ }
+
+- /*
+- * If given filepath is a URL, allow - safe mode stuff
+- * related to URL's is checked in individual functions
+- */
+- wrapper = php_stream_locate_url_wrapper(filename, NULL, STREAM_LOCATE_WRAPPERS_ONLY TSRMLS_CC);
+- if (wrapper != NULL)
+- return 1;
+-
+ /* First we see if the file is owned by the same user...
+ * If that fails, passthrough and check directory...
+ */