[FFmpeg-trac] #9031(undetermined:new): [ffmpeg >4.2] http_proxy doesn't work if user or password contains hash
FFmpeg
trac at avcodec.org
Sun Dec 13 22:52:28 EET 2020
#9031: [ffmpeg >4.2] http_proxy doesn't work if user or password contains hash
-------------------------------------+-------------------------------------
Reporter: sebaro | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
http_proxy='http://proxy:1##2]3&456 at 121.0.0.1:80' ./ffprobe http://test
ffprobe version N-100400-g001bc594d8 Copyright (c) 2007-2020 the FFmpeg
developers
built with gcc 8.2.0 (Gentoo Hardened 8.2.0-r6 p1.7)
configuration:
libavutil 56. 62.100 / 56. 62.100
libavcodec 58.115.102 / 58.115.102
libavformat 58. 65.100 / 58. 65.100
libavdevice 58. 11.103 / 58. 11.103
libavfilter 7. 93.100 / 7. 93.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
[tcp @ 0x55dfcc4a07c0] Failed to resolve hostname proxy: Name or service
not known
It works with no hash in user or password:
http_proxy='http://proxy:1222]3&456 at 121.0.0.1:80' ./ffprobe http://test
ffprobe version N-100400-g001bc594d8 Copyright (c) 2007-2020 the FFmpeg
developers
built with gcc 8.2.0 (Gentoo Hardened 8.2.0-r6 p1.7)
configuration:
libavutil 56. 62.100 / 56. 62.100
libavcodec 58.115.102 / 58.115.102
libavformat 58. 65.100 / 58. 65.100
libavdevice 58. 11.103 / 58. 11.103
libavfilter 7. 93.100 / 7. 93.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
[tcp @ 0x56239f22f7c0] Connection to tcp://121.0.0.1:80 failed: Connection
refused
It works with version 4.2:
http_proxy='http://proxy:1##2]3&456 at 121.0.0.1:80' ffprobe http://test
ffprobe version 4.2.4 Copyright (c) 2007-2020 the FFmpeg developers
built with gcc 8.2.0 (Gentoo Hardened 8.2.0-r6 p1.7)
configuration:
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[tcp @ 0x5618b54a3d60] Connection to tcp://121.0.0.1:80 failed: Connection
refused
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9031>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list