diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-08-16 03:52:37 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-08-16 03:52:37 +0000 |
commit | a643ae656ac0613d648b5a65ae7c0664a66c86bd (patch) | |
tree | 0bc643864b9820b43a698820cf45d38111d9480b /main/safe_mode.c | |
parent | b284497eaf8249bfad76ecf6729d5b705497cd8e (diff) | |
download | php-git-a643ae656ac0613d648b5a65ae7c0664a66c86bd.tar.gz |
Make https:// be exempt from safe_mode checks, just like http:// & ftp:// are.
Diffstat (limited to 'main/safe_mode.c')
-rw-r--r-- | main/safe_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/safe_mode.c b/main/safe_mode.c index 9dd394b513..a56094b33f 100644 --- a/main/safe_mode.c +++ b/main/safe_mode.c @@ -73,7 +73,7 @@ PHPAPI int php_checkuid(const char *filename, char *fopen_mode, int mode) * If given filepath is a URL, allow - safe mode stuff * related to URL's is checked in individual functions */ - if (!strncasecmp(filename,"http://", 7) || !strncasecmp(filename,"ftp://", 6)) { + if (!strncasecmp(filename,"http://", 7) || !strncasecmp(filename,"ftp://", 6) || !strncasecmp(filename,"https://", 8)) { return 1; } |