Re: [FFmpeg-devel] [PATCH 1/2] avformat/url: check double dot is not directory

2020-07-24 Thread Andreas Rheinhardt
Steven Liu: > fix ticket: 8814 > if get double dot in the url, check next byte by double dot, > it there have no '/', it is not directory double dot > > Signed-off-by: Steven Liu > --- > libavformat/url.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavformat/url.c b/libavform

Re: [FFmpeg-devel] [PATCH 1/2] avformat/url: check double dot is not directory

2020-07-24 Thread Marton Balint
On Fri, 24 Jul 2020, Steven Liu wrote: fix ticket: 8814 if get double dot in the url, check next byte by double dot, it there have no '/', it is not directory double dot And what about previous byte? E.g.: http://ffmpeg.org/dummy../dummy Regards, Marton Signed-off-by: Steven Liu --- lib

[FFmpeg-devel] [PATCH 1/2] avformat/url: check double dot is not directory

2020-07-24 Thread Steven Liu
fix ticket: 8814 if get double dot in the url, check next byte by double dot, it there have no '/', it is not directory double dot Signed-off-by: Steven Liu --- libavformat/url.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/url.c b/libavformat/url.c index 20463a6674..92cb4