[FFmpeg-trac] #8814(avformat:open): Can't open HTTP URL whose file name contains ".."

FFmpeg trac at avcodec.org
Mon Jul 27 16:44:06 EEST 2020


#8814: Can't open HTTP URL whose file name contains ".."
------------------------------------+-------------------------------------
             Reporter:  jzlomek     |                    Owner:  stevenliu
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  URL         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-------------------------------------

Comment (by jzlomek):

 PAtchset https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=1871
 does not work:

 -                                          /foo/bar ..
 => /
 -                                      /foo/bar/baz ..
 => /foo/
 +                                          /foo/bar ..
 => //foo/bar/baz
 +                                      /foo/bar/baz ..
 => /foo//foo/bar/baz

 Also this would be nice:

 -                             http://server/foo/bar
 a/b/../c/d/../e../..f/.../other/url/.. =>
 http://server/foo/a/c/e../..f/.../other/
 +                             http://server/foo/bar
 a/b/../c/d/../e../..f/.../other/url/.. =>
 http://server/foo/a/c/e../..f/.../other

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8814#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list