File tree 1 file changed +27
-0
lines changed
tests/Zend/Http/PhpEnvironment
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,33 @@ public static function serverHostnameProvider()
249
249
'test.example.com ' ,
250
250
'/news ' ,
251
251
),
252
+ array (
253
+ array (
254
+ 'HTTP_HOST ' => 'test.example.com ' ,
255
+ 'REQUEST_URI ' => 'http://test.example.com/news ' ,
256
+ ),
257
+ 'test.example.com ' ,
258
+ '/news ' ,
259
+ ),
260
+ array (
261
+ array (
262
+ 'SERVER_NAME ' => 'test.example.com ' ,
263
+ 'SERVER_PORT ' => '8080 ' ,
264
+ 'REQUEST_URI ' => 'http://test.example.com/news ' ,
265
+ ),
266
+ 'test.example.com ' ,
267
+ '/news ' ,
268
+ ),
269
+ array (
270
+ array (
271
+ 'SERVER_NAME ' => 'test.example.com ' ,
272
+ 'SERVER_PORT ' => '443 ' ,
273
+ 'HTTPS ' => 'on ' ,
274
+ 'REQUEST_URI ' => 'https://test.example.com/news ' ,
275
+ ),
276
+ 'test.example.com ' ,
277
+ '/news ' ,
278
+ ),
252
279
);
253
280
}
254
281
You can’t perform that action at this time.
0 commit comments