Projet

Général

Profil

Révision 175ce36f

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

-a

Voir les différences:

drupal7/includes/common.inc
2311 2311
    $language = isset($options['language']) && isset($options['language']->language) ? $options['language']->language : '';
2312 2312
    $alias = drupal_get_path_alias($original_path, $language);
2313 2313
    if ($alias != $original_path) {
2314
      $path = $alias;
2314
      // Strip leading slashes from internal path aliases to prevent them
2315
      // becoming external URLs without protocol. /example.com should not be
2316
      // turned into //example.com.
2317
      $path = ltrim($alias, '/');
2315 2318
    }
2316 2319
  }
2317 2320

  

Formats disponibles : Unified diff