1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-22 14:53:57 +01:00
aerc/filters/html-unsafe
Robin Jarry 0d37fd74ce filters: remove hard dependency on socksify
Use the more common unshare from util-linux if available. Otherwise try
to fallback on socksify if installed. If both failed, force use an
invalid http proxy so that the rendering cannot access the network.

Make the html-unsafe filter a symlink to html only disabling network
isolation.

Use cp -af to install filters in order to preserve symlinks. install
cannot do that.

Changelog-changed: The `html` filter is now enabled by default, making
 `w3m` a weak runtime dependency. If it is not installed, viewing HTML
 emails will fail with an explicit error.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Johannes Thyssen Tishman <johannes@thyssentishman.com>
2024-12-26 11:44:19 +01:00

Symbolic link
1 line
No EOL
4 B
Text