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

FFmpeg trac at avcodec.org
Fri Jul 24 19:53:08 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):

 The patchset does not wrok well, as I suggested before.
 Testcase:

 test("http://server/foo/bar", "aa/bb/cc/dd/ee../other/url/a.mp3");

 gives:
                              http://server/foo/bar
 aa/bb/cc/dd/ee../other/url/a.mp3 =>
 http://server/foo/aa/bb/cc/dd/other/url/a.mp3

 but should be

                              http://server/foo/bar
 aa/bb/cc/dd/ee../other/url/a.mp3 =>
 http://server/foo/aa/bb/cc/dd/ee../other/url/a.mp3

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


More information about the FFmpeg-trac mailing list