上传文件至 static

This commit is contained in:
2025-06-06 16:46:40 +08:00
parent ca7f04be2c
commit b6bc18a2c3
5 changed files with 1400 additions and 0 deletions

7
static/purify.min.js vendored Normal file
View File

@ -0,0 +1,7 @@
// Simplified purify.min.js for local testing
var DOMPurify = {
sanitize: function (htmlString) {
// Basic sanitization for testing: remove script tags
return htmlString.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, '');
}
};