🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Salvo 'LtWorf' Tomaselli Sat, 21 Nov 2026 01:30
Bug#1154641: mpv stopped working with unescaped URLs
#5292
Author: Salvo 'LtWorf' Tomaselli
Date: Sat, 21 Nov 2026 01:30
151 lines
8139 bytes
This is a multi-part MIME message sent by reportbug.


--===============2848301776671999211==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: mpv
Version: 0.42.0-2
Severity: normal
Tags: patch upstream
X-Debbugs-Cc: ltworf@debian.org

Dear Maintainer,

the previous version of mpv allowed me to do this:

$ mpv "https://example.com/audio file.mp3"

while this no longer works and errors out.

These kind of URLs happen when dragging and dropping links from firefox
into a shell, where they get quoted but not escaped.

The attached patch resumes the old behaviour and makes it work again.

Let me know if you'd like me to upload this myself.

Best

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.3.4+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mpv depends on:
ii  libarchive13t64           3.8.11-1
ii  libasound2t64             1.2.16.1-2
ii  libass9                   1:0.17.5-1+b1
ii  libavcodec63              7:9.0.2-6+b1
ii  libavdevice63             7:9.0.2-6+b1
ii  libavfilter12             7:9.0.2-6+b1
ii  libavformat63             7:9.0.2-6+b1
ii  libavutil61               7:9.0.2-6+b1
ii  libbluray4                1:1.5.0-3
ii  libc6                     2.43-7
ii  libcdio-cdda2t64          10.2+2.0.2-2+b2
ii  libcdio-paranoia2t64      10.2+2.0.2-2+b2
ii  libcdio19t64              2.2.0-4.1
ii  libcurl4t64               8.24.0~rc1-1
ii  libdisplay-info3          0.3.0-1+b1
ii  libdrm2                   2.4.134-3
ii  libdvdnav4                7.0.0-2+b1
ii  libdvdread8t64            7.1.1-1
ii  libegl1                   1.7.0-3+b1
ii  libgbm1                   26.2.6-1
ii  libjack0 [libjack-0.125]  1:0.126.0-7
ii  libjpeg62-turbo           1:3.1.3-4
ii  liblcms2-2                2.19.1-1
ii  libluajit-5.1-2           2.1.0+openresty20251030-1+b2
ii  libmujs3                  1.3.11-1
ii  libpipewire-0.3-0t64      1.6.9-2
ii  libplacebo387             7.387.0-2
ii  libpulse0                 17.0+dfsg1-3
ii  librubberband3            4.0.0+dfsg-4
ii  libsixel1                 1:1.8.7-r2-1
ii  libswresample7            7:9.0.2-6+b1
ii  libswscale10              7:9.0.2-6+b1
ii  libuchardet0              0.0.8-2+b2
ii  libva-drm2                2.24.1-2
ii  libva-wayland2            2.24.1-2
ii  libva-x11-2               2.24.1-2
ii  libva2                    2.24.1-2
ii  libvdpau1                 1.5-4+b1
ii  libvulkan1                1.4.363.0-1
ii  libwayland-client0        1.26.0-1
ii  libwayland-cursor0        1.26.0-1
ii  libwayland-egl1           1.26.0-1
ii  libx11-6                  2:1.8.14-1
ii  libxext6                  2:1.3.4-1+b4
ii  libxfixes3                1:6.0.0-2+b5
ii  libxkbcommon0             1.13.1-1
ii  libxpresent1              1.0.1-1+b3
ii  libxrandr2                2:1.5.4-1+b4
ii  libxss1                   1:1.2.3-1+b4
ii  libxv1                    2:1.0.13-1+b1
ii  libzimg2                  3.0.6+ds1-2
ii  zlib1g                    1:1.3.dfsg+really1.3.2-4

Versions of packages mpv recommends:
ii  xdg-utils  1.2.1-2
ii  yt-dlp     2026.10.26-1

Versions of packages mpv suggests:
pn  libcuda1  <none>

-- no debconf information

--===============2848301776671999211==
Content-Type: application/mbox
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="0001-Resume-functionality-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GN1
cmxfdXJsX2NsZWFudXAodXJsKTsKKyAgICBpZiAoZXNjYXBlZF91cmwpIGN1cmxfZnJlZShlc2Nh
cGVkX3VybCk7CisKKyAgICByZXR1cm4gcmV0OworfQorCiBzdGF0aWMgYm9vbCBzZXR1cF9jdXJs
KHN0cnVjdCBwcml2ICpwKQogewogICAgIGN1cmxfdmVyc2lvbl9pbmZvX2RhdGEgKmluZm8gPSBj
dXJsX3ZlcnNpb25faW5mbyhDVVJMVkVSU0lPTl9OT1cpOwogICAgIENVUkwgKmMgPSBwLT5jdXJs
OwogCi0gICAgU0VUT1BUKENVUkxPUFRfVVJMLCBwLT51cmwpOworICAgIGlmICghc2V0X3VybChw
KSkgcmV0dXJuIGZhbHNlOworCiAgICAgU0VUT1BUKENVUkxPUFRfTk9TSUdOQUwsIDFMKTsKICAg
ICBTRVRPUFQoQ1VSTE9QVF9QUklWQVRFLCBwKTsKIAotLSAKMi41NS4wCgo=

--===============2848301776671999211==--
Bug#1154641: mpv stopped working with unescaped URLs
#5304
Author: Sebastian Ramacher
Date: Sat, 21 Nov 2026 08:40
110 lines
5577 bytes
On 2026-11-21 02:20:17 +0100, Salvo 'LtWorf' Tomaselli wrote:
> Package: mpv
> Version: 0.42.0-2
> Severity: normal
> Tags: patch upstream
> X-Debbugs-Cc: ltworf@debian.org
> 
> Dear Maintainer,
> 
> the previous version of mpv allowed me to do this:
> 
> $ mpv "https://example.com/audio file.mp3"
> 
> while this no longer works and errors out.
> 
> These kind of URLs happen when dragging and dropping links from firefox
> into a shell, where they get quoted but not escaped.
> 
> The attached patch resumes the old behaviour and makes it work again.
> 
> Let me know if you'd like me to upload this myself.

Thanks for the patch, but please get integrated upstream first:
https://github.com/mpv-player/mpv

Cheers

> 
> Best
> 
> -- System Information:
> Debian Release: forky/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 7.3.4+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
> Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages mpv depends on:
> ii  libarchive13t64           3.8.11-1
> ii  libasound2t64             1.2.16.1-2
> ii  libass9                   1:0.17.5-1+b1
> ii  libavcodec63              7:9.0.2-6+b1
> ii  libavdevice63             7:9.0.2-6+b1
> ii  libavfilter12             7:9.0.2-6+b1
> ii  libavformat63             7:9.0.2-6+b1
> ii  libavutil61               7:9.0.2-6+b1
> ii  libbluray4                1:1.5.0-3
> ii  libc6                     2.43-7
> ii  libcdio-cdda2t64          10.2+2.0.2-2+b2
> ii  libcdio-paranoia2t64      10.2+2.0.2-2+b2
> ii  libcdio19t64              2.2.0-4.1
> ii  libcurl4t64               8.24.0~rc1-1
> ii  libdisplay-info3          0.3.0-1+b1
> ii  libdrm2                   2.4.134-3
> ii  libdvdnav4                7.0.0-2+b1
> ii  libdvdread8t64            7.1.1-1
> ii  libegl1                   1.7.0-3+b1
> ii  libgbm1                   26.2.6-1
> ii  libjack0 [libjack-0.125]  1:0.126.0-7
> ii  libjpeg62-turbo           1:3.1.3-4
> ii  liblcms2-2                2.19.1-1
> ii  libluajit-5.1-2           2.1.0+openresty20251030-1+b2
> ii  libmujs3                  1.3.11-1
> ii  libpipewire-0.3-0t64      1.6.9-2
> ii  libplacebo387             7.387.0-2
> ii  libpulse0                 17.0+dfsg1-3
> ii  librubberband3            4.0.0+dfsg-4
> ii  libsixel1                 1:1.8.7-r2-1
> ii  libswresample7            7:9.0.2-6+b1
> ii  libswscale10              7:9.0.2-6+b1
> ii  libuchardet0              0.0.8-2+b2
> ii  libva-drm2                2.24.1-2
> ii  libva-wayland2            2.24.1-2
> ii  libva-x11-2               2.24.1-2
> ii  libva2                    2.24.1-2
> ii  libvdpau1                 1.5-4+b1
> ii  libvulkan1                1.4.363.0-1
> ii  libwayland-client0        1.26.0-1
> ii  libwayland-cursor0        1.26.0-1
> ii  libwayland-egl1           1.26.0-1
> ii  libx11-6                  2:1.8.14-1
> ii  libxext6                  2:1.3.4-1+b4
> ii  libxfixes3                1:6.0.0-2+b5
> ii  libxkbcommon0             1.13.1-1
> ii  libxpresent1              1.0.1-1+b3
> ii  libxrandr2                2:1.5.4-1+b4
> ii  libxss1                   1:1.2.3-1+b4
> ii  libxv1                    2:1.0.13-1+b1
> ii  libzimg2                  3.0.6+ds1-2
> ii  zlib1g                    1:1.3.dfsg+really1.3.2-4
> 
> Versions of packages mpv recommends:
> ii  xdg-utils  1.2.1-2
> ii  yt-dlp     2026.10.26-1
> 
> Versions of packages mpv suggests:
> pn  libcuda1  <none>
> 
> -- no debconf information



-- 
Sebastian Ramacher
Bug#1154641: mpv stopped working with unescaped URLs
#5323
Author: Salvo Tomaselli
Date: Sat, 21 Nov 2026 11:20
15 lines
2262 bytes
> Thanks for the patch, but please get integrated upstream first:
> https://github.com/mpv-player/mpv

https://github.com/mpv-player/mpv/pull/18870

-- 
Salvo Tomaselli

I difensori della morale tradizionale sono raramente persone di cuore. Si è
tentati di pensare che essi si servano della morale come di legittimo sfogo
al loro desiderio di fare del male agli altri.
               -- Bertrand Russell, Perché non sono cristiano. 1957

https://ltworf.github.io/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads