[FFmpeg-trac] #2180(avformat:new): http: cookie bugs

FFmpeg trac at avcodec.org
Thu Jan 24 15:29:59 CET 2013


#2180: http: cookie bugs
----------------------------------+--------------------------------------
             Reporter:  gjdfgh    |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 1. if a cookies string is set, but no domain matches, lavf sends "Cookie:
 (null)". This is because it passes NULL to snprintf() somewhere.

 2. ffmpeg erreneously includes the port number as part of the domain name
 for cookies, if the port number is included in the URL. For example, I was
 testing with the URL "http://localhost:10000/", and cookies for
 "localhost" were ignored. Using "localhost:10000" as domain name in the
 cookies string works, but I believe the port number should not be part of
 the domain name. At least wget disagrees.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2180>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list