diff options
Diffstat (limited to 'includes/file.inc')
-rw-r--r-- | includes/file.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/file.inc b/includes/file.inc index 06657cfbe..44e342233 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -1108,7 +1108,7 @@ function file_munge_filename($filename, $extensions, $alerts = TRUE) { // Allow potentially insecure uploads for very savvy users and admin if (!variable_get('allow_insecure_uploads', 0)) { - // Remove any null bytes. See http://php.net/manual/en/security.filesystem.nullbytes.php + // Remove any null bytes. See http://php.net/manual/security.filesystem.nullbytes.php $filename = str_replace(chr(0), '', $filename); $whitelist = array_unique(explode(' ', trim($extensions))); @@ -1414,7 +1414,7 @@ function file_save_upload($source, $validators = array(), $destination = FALSE, // Check for file upload errors and return FALSE if a lower level system // error occurred. For a complete list of errors: - // See http://php.net/manual/en/features.file-upload.errors.php. + // See http://php.net/manual/features.file-upload.errors.php. switch ($_FILES['files']['error'][$source]) { case UPLOAD_ERR_INI_SIZE: case UPLOAD_ERR_FORM_SIZE: @@ -2177,7 +2177,7 @@ function drupal_chmod($uri, $mode = NULL) { * @param $uri * A URI or pathname. * @param $context - * Refer to http://php.net/manual/en/ref.stream.php + * Refer to http://php.net/manual/ref.stream.php * * @return * Boolean TRUE on success, or FALSE on failure. @@ -2310,7 +2310,7 @@ function drupal_basename($uri, $suffix = NULL) { * @param $recursive * Default to FALSE. * @param $context - * Refer to http://php.net/manual/en/ref.stream.php + * Refer to http://php.net/manual/ref.stream.php * * @return * Boolean TRUE on success, or FALSE on failure. @@ -2341,7 +2341,7 @@ function drupal_mkdir($uri, $mode = NULL, $recursive = FALSE, $context = NULL) { * @param $uri * A URI or pathname. * @param $context - * Refer to http://php.net/manual/en/ref.stream.php + * Refer to http://php.net/manual/ref.stream.php * * @return * Boolean TRUE on success, or FALSE on failure. |