+80
−8
Loading
An (AFAICT undocumented) long-standing feature in Windows is the ability to
set the Zone.Identifier ADS on a file by writing to a file named
"${filename}:Zone.Identifier". In DND, this patch exports this alongside
the ${filename} that will be used for the shortcut, so explorer writes both.
This causes the UAC to kick in when the shortcut is launched.
Differential Revision: https://phabricator.services.mozilla.com/D301935