Commit a96821ac8 for imagemagick.org
commit a96821ac8fc667e0632de35b2b3e84b06934853e
Author: Cristy <urban-warrior@imagemagick.org>
Date: Mon Aug 31 07:54:06 2026 -0400
https://github.com/ImageMagick/ImageMagick/issues/8930
diff --git a/coders/url.c b/coders/url.c
index 1a3df6975..b1cc76331 100644
--- a/coders/url.c
+++ b/coders/url.c
@@ -110,7 +110,7 @@ static Image *InvokeURLDelegate(ImageInfo *read_info,Image *image,
if (status != MagickFalse)
{
(void) FormatLocaleString(read_info->filename,MagickPathExtent,
- "%s.dat",read_info->unique);
+ "%s.bin",read_info->unique);
*read_info->magick='\0';
images=ReadImage(read_info,exception);
(void) RelinquishUniqueFileResource(read_info->filename);
diff --git a/config/delegates.xml.in b/config/delegates.xml.in
index 88386a386..67cb0c85d 100644
--- a/config/delegates.xml.in
+++ b/config/delegates.xml.in
@@ -65,8 +65,8 @@
<delegate decode="c2pa:decode" command="@SHELL_QUOTE@@C2PADecodeDelegate@@SHELL_QUOTE@ --crjson @SHELL_QUOTE@%i@SHELL_QUOTE@ > @SHELL_QUOTE@%u.json@SHELL_QUOTE@;"/>
<delegate encode="c2pa:encode" command="env C2PA_PRIVATE_KEY=%[c2pa:key] C2PA_PASSWORD=%[c2pa:password] C2PA_CERT_CHAIN=%[c2pa:cert] @SHELL_QUOTE@@C2PAEncodeDelegate@@SHELL_QUOTE@ @SHELL_QUOTE@%i@SHELL_QUOTE@ --manifest @SHELL_QUOTE@%[c2pa:manifest]@SHELL_QUOTE@ --force --output @SHELL_QUOTE@%o@SHELL_QUOTE@"/>
<delegate decode="browse" stealth="True" spawn="True" command="@SHELL_QUOTE@@BrowseDelegate@@SHELL_QUOTE@ https://imagemagick.org/; @RMDelegate@ @SHELL_QUOTE@%i@SHELL_QUOTE@"/>
- <delegate decode="http:decode" command="@SHELL_QUOTE@@WWWDecodeDelegate@@SHELL_QUOTE@ -s -L -o @SHELL_QUOTE@%u.dat@SHELL_QUOTE@ @SHELL_QUOTE@http:%M@SHELL_QUOTE@"/>
- <delegate decode="https:decode" command="@SHELL_QUOTE@@WWWDecodeDelegate@@SHELL_QUOTE@ -s -L -o @SHELL_QUOTE@%u.dat@SHELL_QUOTE@ @SHELL_QUOTE@https:%M@SHELL_QUOTE@"/>
+ <delegate decode="http:decode" command="@SHELL_QUOTE@@WWWDecodeDelegate@@SHELL_QUOTE@ -s -L -o @SHELL_QUOTE@%u.bin@SHELL_QUOTE@ @SHELL_QUOTE@http:%M@SHELL_QUOTE@"/>
+ <delegate decode="https:decode" command="@SHELL_QUOTE@@WWWDecodeDelegate@@SHELL_QUOTE@ -s -L -o @SHELL_QUOTE@%u.bin@SHELL_QUOTE@ @SHELL_QUOTE@https:%M@SHELL_QUOTE@"/>
<delegate decode="doc" command="@SHELL_QUOTE@@DOCDecodeDelegate@@SHELL_QUOTE@ --convert-to pdf --outdir `dirname @SHELL_QUOTE@%i@SHELL_QUOTE@` @SHELL_QUOTE@%i@SHELL_QUOTE@ 2> @SHELL_QUOTE@%u@SHELL_QUOTE@; @MVDelegate@ @SHELL_QUOTE@%i.pdf@SHELL_QUOTE@ @SHELL_QUOTE@%o@SHELL_QUOTE@"/>
<delegate decode="docx" command="@SHELL_QUOTE@@DOCDecodeDelegate@@SHELL_QUOTE@ --convert-to pdf --outdir `dirname @SHELL_QUOTE@%i@SHELL_QUOTE@` @SHELL_QUOTE@%i@SHELL_QUOTE@ 2> @SHELL_QUOTE@%u@SHELL_QUOTE@; @MVDelegate@ @SHELL_QUOTE@%i.pdf@SHELL_QUOTE@ @SHELL_QUOTE@%o@SHELL_QUOTE@"/>
<delegate decode="dng:decode" command="@MKDIRDelegate@ @SHELL_QUOTE@%u-config@SHELL_QUOTE@;@MVDelegate@ @SHELL_QUOTE@%i@SHELL_QUOTE@ @SHELL_QUOTE@%i.%e@SHELL_QUOTE@; @SHELL_QUOTE@@DNGDecodeDelegate@@SHELL_QUOTE@ --import @SHELL_QUOTE@%i.%e@SHELL_QUOTE@ @SHELL_QUOTE@%u.tif@SHELL_QUOTE@ --core --configdir @SHELL_QUOTE@%u-config@SHELL_QUOTE@ > @SHELL_QUOTE@%u@SHELL_QUOTE@;@RMDelegate@ -r @SHELL_QUOTE@%u-config@SHELL_QUOTE@"/>