[FFmpeg-trac] #10679(avformat:new): : in URI of HLS causes relative paths to not load

FFmpeg trac at avcodec.org
Wed Nov 22 02:45:34 EET 2023


#10679: : in URI of HLS causes relative paths to not load
-------------------------------------+-------------------------------------
             Reporter:  David        |                     Type:  defect
  Johansen                           |
               Status:  new          |                 Priority:  minor
            Component:  avformat     |                  Version:
                                     |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 If a `:` appears in the URI of a segment with a relative path in the
 manifest of HLS, then it fails to load the file. Safari loads the same
 file without issue

 The solution is to either change `ff_make_absolute_url` to handle these
 files or to have the HLS parsing escape the URI before passing it to said
 function.

 Also, would be good to add a case like this to `libavformat/tests/url.c`
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10679>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list