@@ -48,10 +48,10 @@ public function getConfigs()
4848 ['file:///example/com/foo/ ' , '' , 'foo ' , 'file:///example/com/foo/foo?v1 ' ],
4949
5050 [['http://example.com ' ], '' , '/foo ' , 'http://example.com/foo?v1 ' ],
51- [['http://example.com ' , 'http://example.net ' ], '' , '/foo ' , 'http://example.com /foo?v1 ' ],
52- [['http://example.com ' , 'http://example.net ' ], '' , '/fooa ' , 'http://example.net /fooa?v1 ' ],
53- [['file:///example/com ' , 'file:///example/net ' ], '' , '/foo ' , 'file:///example/com /foo?v1 ' ],
54- [['ftp://example.com ' , 'ftp://example.net ' ], '' , '/fooa ' , 'ftp://example.net /fooa?v1 ' ],
51+ [['http://example.com ' , 'http://example.net ' ], '' , '/foo ' , 'http://example.net /foo?v1 ' ],
52+ [['http://example.com ' , 'http://example.net ' ], '' , '/fooa ' , 'http://example.com /fooa?v1 ' ],
53+ [['file:///example/com ' , 'file:///example/net ' ], '' , '/foo ' , 'file:///example/net /foo?v1 ' ],
54+ [['ftp://example.com ' , 'ftp://example.net ' ], '' , '/fooa ' , 'ftp://example.com /fooa?v1 ' ],
5555
5656 ['http://example.com ' , 'version-%2$s/%1$s ' , '/foo ' , 'http://example.com/version-v1/foo ' ],
5757 ['http://example.com ' , 'version-%2$s/%1$s ' , 'foo ' , 'http://example.com/version-v1/foo ' ],
@@ -77,15 +77,16 @@ public function getContextConfigs()
7777 return [
7878 [false , 'http://example.com ' , '' , 'foo ' , 'http://example.com/foo?v1 ' ],
7979 [false , ['http://example.com ' ], '' , 'foo ' , 'http://example.com/foo?v1 ' ],
80- [false , ['http://example.com ' , 'https://example.com ' ], '' , 'foo ' , 'http ://example.com/foo?v1 ' ],
81- [false , ['http://example.com ' , 'https://example.com ' ], '' , 'fooa ' , 'https ://example.com/fooa?v1 ' ],
80+ [false , ['http://example.com ' , 'https://example.com ' ], '' , 'foo ' , 'https ://example.com/foo?v1 ' ],
81+ [false , ['http://example.com ' , 'https://example.com ' ], '' , 'fooa ' , 'http ://example.com/fooa?v1 ' ],
8282 [false , ['http://example.com/bar ' ], '' , 'foo ' , 'http://example.com/bar/foo?v1 ' ],
8383 [false , ['http://example.com/bar/ ' ], '' , 'foo ' , 'http://example.com/bar/foo?v1 ' ],
8484 [false , ['//example.com/bar/ ' ], '' , 'foo ' , '//example.com/bar/foo?v1 ' ],
8585
8686 [true , ['http://example.com ' ], '' , 'foo ' , 'http://example.com/foo?v1 ' ],
8787 [true , ['http://example.com ' , 'https://example.com ' ], '' , 'foo ' , 'https://example.com/foo?v1 ' ],
88- [true , ['' , 'https://example.com ' ], '' , 'foo ' , '/foo?v1 ' ],
88+ [true , ['' , 'https://example.com ' ], '' , 'foo ' , 'https://example.com/foo?v1 ' ],
89+ [true , ['' , 'https://example.com ' ], '' , 'bar ' , '/bar?v1 ' ],
8990 ];
9091 }
9192
0 commit comments