Projet

Général

Profil

Révision cf490feb

Ajouté par Assos Assos il y a environ 6 ans

Update to 7.57

Voir les différences:

drupal7/includes/common.inc
2236 2236
    'prefix' => ''
2237 2237
  );
2238 2238

  
2239
  // Determine whether this is an external link, but ensure that the current
2240
  // path is always treated as internal by default (to prevent external link
2241
  // injection vulnerabilities).
2239 2242
  if (!isset($options['external'])) {
2240
    $options['external'] = url_is_external($path);
2243
    $options['external'] = $path === $_GET['q'] ? FALSE : url_is_external($path);
2241 2244
  }
2242 2245

  
2243 2246
  // Preserve the original path before altering or aliasing.

Formats disponibles : Unified diff