mirror of https://github.com/FFmpeg/FFmpeg.git
Signed-off-by: Marton Balint <cus@passwd.hu>pull/343/head
parent
e2307f4ff1
commit
0f5127b1ca
2 changed files with 16 additions and 14 deletions
@ -1,13 +1,14 @@ |
||||
baz |
||||
/foo/baz |
||||
/baz |
||||
/baz |
||||
http://server/foo/baz |
||||
http://server/foo/baz |
||||
http://server/baz |
||||
http://server/baz |
||||
http://server/baz |
||||
https://other/url |
||||
http://server/baz |
||||
http://server/foo/bar?someparam |
||||
http://other/url |
||||
Testing ff_make_absolute_url: |
||||
(null) baz => baz |
||||
/foo/bar baz => /foo/baz |
||||
/foo/bar ../baz => /baz |
||||
/foo/bar /baz => /baz |
||||
http://server/foo/ baz => http://server/foo/baz |
||||
http://server/foo/bar baz => http://server/foo/baz |
||||
http://server/foo/ ../baz => http://server/baz |
||||
http://server/foo/bar/123 ../../baz => http://server/baz |
||||
http://server/foo/bar/123 /baz => http://server/baz |
||||
http://server/foo/bar/123 https://other/url => https://other/url |
||||
http://server/foo/bar?param=value/with/slashes /baz => http://server/baz |
||||
http://server/foo/bar?param&otherparam ?someparam => http://server/foo/bar?someparam |
||||
http://server/foo/bar //other/url => http://other/url |
||||
|
Loading…
Reference in new issue