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

FFmpeg trac at avcodec.org
Mon Jul 27 16:11:48 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 stevenliu):

 Replying to [comment:6 jzlomek]:
 > It is better but still not correct. Consider this test:
 > test("http://server/foo/bar",
 > It should give
 > I think the best would be to use strtok(p, "/") to split the path into
 the components and for each ".." component remove the previous one (if
 there are some still).

 What about this one:

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

More information about the FFmpeg-trac mailing list