ENTERPRISE file extensions (#941 omake);

in case a snakeoil salesman managed to convince your workplace into
purchasing their "internet security solution" which blocks downloads
of certain files according to file extensions -- or, in other words,
smoke and mirrors, with a comforting false sense of security
This commit is contained in:
ed
2025-10-22 22:10:02 +00:00
parent c9e45c12d8
commit b624a38747
8 changed files with 41 additions and 14 deletions

View File

@@ -571,7 +571,7 @@ gzres() {
$pk "$f" &
done < <(
find -printf '%s %p\n' |
grep -E '\.(js|css)$' |
grep -E '\.(js|css)$|/web/a/[^_].*\.(py|txt)$' |
grep -vF /deps/ |
sort -nr
)

View File

@@ -66,7 +66,7 @@ copyparty/web/a,
copyparty/web/a/__init__.py,
copyparty/web/a/partyfuse.py,
copyparty/web/a/u2c.py,
copyparty/web/a/webdav-cfg.bat,
copyparty/web/a/webdav-cfg.txt,
copyparty/web/baguettebox.js,
copyparty/web/browser.css,
copyparty/web/browser.html,