Projet

Général

Profil

Révision ecd39969

Ajouté par Assos Assos il y a environ 5 ans

Udpate to 7.65

Voir les différences:

drupal7/includes/common.inc
1094 1094
      elseif ($options['max_redirects']) {
1095 1095
        // Redirect to the new location.
1096 1096
        $options['max_redirects']--;
1097

  
1098
        // We need to unset the 'Host' header
1099
        // as we are redirecting to a new location.
1100
        unset($options['headers']['Host']);
1101

  
1097 1102
        $result = drupal_http_request($location, $options);
1098 1103
        $result->redirect_code = $code;
1099 1104
      }

Formats disponibles : Unified diff