comparison core/modules/system/src/Tests/Session/SessionHttpsTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
188 else { 188 else {
189 $base_url = str_replace('https://', 'http://', $base_url); 189 $base_url = str_replace('https://', 'http://', $base_url);
190 } 190 }
191 191
192 // The mock front controllers (http.php and https.php) add the script name 192 // The mock front controllers (http.php and https.php) add the script name
193 // to $_SERVER['REQEUST_URI'] and friends. Therefore it is necessary to 193 // to $_SERVER['REQUEST_URI'] and friends. Therefore it is necessary to
194 // strip that also. 194 // strip that also.
195 $base_url .= 'index.php/'; 195 $base_url .= 'index.php/';
196 196
197 // Extract relative path from location header. 197 // Extract relative path from location header.
198 $this->assertResponse($response_code); 198 $this->assertResponse($response_code);