Projet

Général

Profil

Révision ca0757b9

Ajouté par Assos Assos il y a plus de 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/webform/components/file.inc
212 212
  $scheme = $element['extra']['scheme']['#value'];
213 213
  $directory = $element['extra']['directory']['#value'];
214 214

  
215
  $destination_dir = file_stream_wrapper_uri_normalize($scheme . '://' . $directory . '/webform');
215
  $destination_dir = file_stream_wrapper_uri_normalize($scheme . '://webform/' . $directory);
216 216

  
217 217
  // Sanity check input to prevent use parent (../) directories.
218 218
  if (preg_match('/\.\.[\/\\\]/', $destination_dir . '/')) {

Formats disponibles : Unified diff