Skip to content

Commit 441a7da

Browse files
authored
Merge pull request #95800 from oxzi/claws-mail-mailto
claws-mail: patch mailto handling
2 parents dc622ed + 62eed9a commit 441a7da

File tree

1 file changed

+12
-2
lines changed
  • pkgs/applications/networking/mailreaders/claws-mail

1 file changed

+12
-2
lines changed

pkgs/applications/networking/mailreaders/claws-mail/default.nix

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ config, fetchurl, stdenv, wrapGAppsHook, autoreconfHook
1+
{ config, fetchurl, fetchpatch, stdenv, wrapGAppsHook, autoreconfHook
22
, curl, dbus, dbus-glib, enchant, gtk2, gnutls, gnupg, gpgme
33
, libarchive, libcanberra-gtk2, libetpan, libnotify, libsoup, libxml2, networkmanager
44
, openldap, perl, pkgconfig, poppler, python, shared-mime-info
@@ -39,7 +39,17 @@ stdenv.mkDerivation rec {
3939

4040
outputs = [ "out" "dev" ];
4141

42-
patches = [ ./mime.patch ];
42+
patches = [
43+
./mime.patch
44+
45+
# Backports a mitigation to the "mailto vulnerability". This patch is
46+
# included in the next release and must therefore be removed.
47+
(fetchpatch {
48+
name = "fix-4373-4374.patch";
49+
url = "https://git.claws-mail.org/?p=claws.git;a=patch;h=4c9d15b4b37cdc57edfa16df550a0a881a156153";
50+
sha256 = "0sp0vxr6pk2fv5ydpcakb50rmn2w2nma98apgfsgcgan82qmwk7n";
51+
})
52+
];
4353

4454
preConfigure = ''
4555
# autotools check tries to dlopen libpython as a requirement for the python plugin

0 commit comments

Comments
 (0)