Skip to contentSkip to conversation

Question related to MIRRORs with downloadfilename

DISCUSSION Gylstorff Quirin 1 participant 1 message May 22, 2023

lore
Share & tools
lore
#0 lore raw

Dear subscribers,

we found the following behavior after using MIRRORS together with DownloadfileName.

If you set a MIRROR the replaced URL will contain the downloadfilename instead of original filename.

E.g.

SRC_URI = "https://somewhere.org/example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz"

MIRROR = "https://.*/.*", "https://somemirror/.*"

Will try to download

"https://somemirror/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz"

instead of

"https://somemirror/example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz"

Is this behavior expected?

Best regards,
Quirin Gylstorff
Siemens AG