Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #269385
| From | Max Nikulin <manikulin@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Bookworm's /etc/mailcap seems to break s-nail |
| Date | 2024-05-15 18:00 +0200 |
| Message-ID | <IEpcR-dxWM-11@gated-at.bofh.it> (permalink) |
| References | <IB6gp-buny-23@gated-at.bofh.it> <IB6zL-buuU-1@gated-at.bofh.it> <IB7vP-bv5W-13@gated-at.bofh.it> <IBrux-bHif-3@gated-at.bofh.it> <IBvRv-bK09-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07/05/2024 23:24, Max Nikulin wrote: >> On 2024-05-06 17:04, Max Nikulin wrote: >>> So doubled backslashes (as in .desktop files) are correct. >>> >>> What is wrong is lack of backslashes added before ";" and it is a bug. I have filed https://bugs.debian.org/1071036 update-mime does not escape semicolon in .desktop Exec entries This particular bug almost certainly may be fixed by adding an extra line of perl code. However 2 layer of quoting in .desktop files: special rules for Exec and general for any strings require more work to get entries properly escaped for mailcap in general case. In the meanwhile I have realized that BASH implementation of parsing Exec entries in xdg-open fallback function search_desktop_file is really ugly: https://gitlab.freedesktop.org/xdg/xdg-utils/-/blob/master/scripts/xdg-open.in?ref_type=heads#L312 I am unsure if it is possible to implement double quotes rule https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html Since xdg-open usually delegates handling of URIs to the desktop environment, this code is active only for those who avoid any DE.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bookworm's /etc/mailcap seems to break s-nail Jesper Dybdal <jd-debian-user@dybdal.dk> - 2024-05-06 15:10 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail Greg Wooledge <greg@wooledge.org> - 2024-05-06 15:30 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail Jesper Dybdal <jd-debian-user@dybdal.dk> - 2024-05-06 16:10 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail Max Nikulin <manikulin@gmail.com> - 2024-05-06 16:30 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail Max Nikulin <manikulin@gmail.com> - 2024-05-06 17:10 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail Jesper Dybdal <jd-debian-user@dybdal.dk> - 2024-05-07 13:50 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail Max Nikulin <manikulin@gmail.com> - 2024-05-07 18:30 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail Max Nikulin <manikulin@gmail.com> - 2024-05-15 18:00 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail "Jonathan Dowland" <jmtd@debian.org> - 2024-05-16 09:50 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail Max Nikulin <manikulin@gmail.com> - 2024-05-17 13:00 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail "Jonathan Dowland" <jmtd@debian.org> - 2024-05-20 11:50 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail Jesper Dybdal <jesper@dybdal.dk> - 2024-05-17 22:50 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail David Wright <deblis@lionunicorn.co.uk> - 2024-05-06 17:00 +0200
Re: Bookworm's /etc/mailcap seems to break s-nail Max Nikulin <manikulin@gmail.com> - 2024-05-06 17:10 +0200
csiph-web