@@ -48,10 +48,10 @@ public function getConfigs()
48
48
['file:///example/com/foo/ ' , '' , 'foo ' , 'file:///example/com/foo/foo?v1 ' ],
49
49
50
50
[['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 ' ],
55
55
56
56
['http://example.com ' , 'version-%2$s/%1$s ' , '/foo ' , 'http://example.com/version-v1/foo ' ],
57
57
['http://example.com ' , 'version-%2$s/%1$s ' , 'foo ' , 'http://example.com/version-v1/foo ' ],
@@ -77,15 +77,16 @@ public function getContextConfigs()
77
77
return [
78
78
[false , 'http://example.com ' , '' , 'foo ' , 'http://example.com/foo?v1 ' ],
79
79
[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 ' ],
82
82
[false , ['http://example.com/bar ' ], '' , 'foo ' , 'http://example.com/bar/foo?v1 ' ],
83
83
[false , ['http://example.com/bar/ ' ], '' , 'foo ' , 'http://example.com/bar/foo?v1 ' ],
84
84
[false , ['//example.com/bar/ ' ], '' , 'foo ' , '//example.com/bar/foo?v1 ' ],
85
85
86
86
[true , ['http://example.com ' ], '' , 'foo ' , 'http://example.com/foo?v1 ' ],
87
87
[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 ' ],
89
90
];
90
91
}
91
92
0 commit comments