diff options
author | ruiquan.crq <caihaoning83@gmail.com> | 2020-10-17 23:17:14 +0800 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2020-10-28 21:34:09 +0100 |
commit | ae9a1a96982669926a4ecb92b066814f5f27dc38 (patch) | |
tree | a525e83480275d1dcdca207cdb24f7f3c4d6434c /tests/ref | |
parent | 37d742b607d47122d23d548ffd7ad9b09cbc5298 (diff) | |
download | ffmpeg-ae9a1a96982669926a4ecb92b066814f5f27dc38.tar.gz |
lavf/url: fix relative url parsing when the query string or fragment has a colon
This disallows the usage of ? and # in libavformat specific scheme options
(e.g. subfile,,start,32815239,end,0,,:video.ts) but this change was considered
acceptable.
Signed-off-by: ruiquan.crq <caihaoning83@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'tests/ref')
-rw-r--r-- | tests/ref/fate/url | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/fate/url b/tests/ref/fate/url index 7e6395c47b..08e80def7d 100644 --- a/tests/ref/fate/url +++ b/tests/ref/fate/url @@ -43,6 +43,14 @@ http://[::1]:8080/dev/null => host: ffmpeg path: /dev/null +test?url=http://server/path => + path: test + query: ?url=http://server/path + +dummy.mp4#t=0:02:00,121.5 => + path: dummy.mp4 + fragment: #t=0:02:00,121.5 + Testing ff_make_absolute_url: (null) baz => baz /foo/bar baz => /foo/baz |