vastsa
da1dd06655
fix(chunk-upload): persist sanitized filenames
2026-08-29 12:38:46 +08:00
zhou-kkk
cebac32145
fix: sanitize chunk upload file_name to prevent path traversal
2026-08-29 12:13:39 +08:00
vastsa
eda0a3127a
fix: add magic-byte checks, login rate limits, and non-root Docker
...
Close the remaining security gaps: validate upload content against
file signatures, rate-limit admin login failures with configurable
thresholds, and run the container as uid 1000 instead of root.
2026-07-23 22:23:04 +08:00
Lan
ae7702603a
Merge pull request #496 from vastsa/fix/pr494-security-patches
...
fix: harden share expiry, download token, quota SQL, and CORS
2026-07-23 19:41:40 +08:00
vastsa
a41693f90d
fix: harden share expiry, download token, quota SQL, and CORS
...
Apply the useful security fixes from PR #494 with review corrections:
validate expire_style through a shared helper, accept previous download
token window, detect SQL dialect via Tortoise capabilities, close remote
download sessions on client abort, and disable invalid CORS credentials.
2026-07-23 19:38:50 +08:00
monlor
f2277e1649
support text direct downloads
2026-07-15 15:12:24 +08:00
Lan
818dd47b2a
feat: add global storage capacity limit
2026-07-11 17:50:26 +08:00
Lan
8d7d856c62
fix: harden share retrieval and admin visibility ( #482 , #480 )
2026-07-10 17:39:53 +08:00
Lan
1b6d8e7277
fix: harden share rate limit and code generation ( #479 )
2026-06-09 00:53:11 +08:00
Lan
c1fb802223
fix : #473 normalize retrieve codes before lookup
2026-06-05 11:40:11 +08:00
Lan
aa6904a12c
fix : #465 restrict uploads by allowed file types
2026-06-05 11:29:37 +08:00
Lan
78b1dbe81f
feat: add retrieve metadata endpoint
2026-06-03 03:17:01 +08:00
Lan
6fe68be2dd
fix: support legacy presign proxy upload URLs
2026-06-03 02:57:29 +08:00
Lan
75d345e5d0
fix: accept form payloads for chunk uploads
2026-06-03 02:24:08 +08:00
Lan
1cc901d2b9
feat: add migration for filecodes table and update size field to BigInt
2026-02-27 23:38:27 +08:00
Lan
e87bcfcce5
fix: https://github.com/vastsa/FileCodeBox/issues/407
2026-01-07 20:04:44 +08:00
Lan
e80be564a5
fix: https://github.com/vastsa/FileCodeBox/issues/362
2026-01-07 19:50:02 +08:00
Lan
8e57a497f7
feat: 支持S3预签名上传
2025-12-31 03:25:09 +08:00
Lan
e854eb068c
fix: 自动清理过期的chunk
2025-12-01 15:24:47 +08:00
Lan
c1966b3942
feat: s3适配切片上传
2025-12-01 15:13:33 +08:00
Lan
bd6f646f5d
fix: some error
2025-12-01 11:30:52 +08:00
Lan
bdab5bb375
feat:code style
2025-07-05 00:02:04 +08:00
shaw
62d1a23695
fix(base): 修复文件名中的中文编码问题
...
- 在 sanitize_filename 函数中添加 unquote 导入并使用其解码文件名
- 这个修改解决了非 ASCII 字符在文件名中显示为编码形式的问题
- Non-ASCll filename uploads don't comply with RFC 7578
2025-06-20 15:44:23 +08:00
Lan
eeb70c7f44
fix : #349
2025-05-21 00:14:40 +08:00
Lan
a65cf32214
revert: 取消秒传
2025-03-01 11:20:37 +08:00
Lan
c4e398bd31
fix: share auth
2025-02-25 22:55:42 +08:00
Lan
fdada809d9
wip: 切片上传、文件秒传、断点续传陆续适配中当前进度(本地存储已适配)
2025-02-23 20:49:51 +08:00
Lan
d178ab04a2
feat:New database migration, new adaptation root path configuration
2025-02-16 21:53:48 +08:00
Lan
7ea1fe2e90
feat:New database migration, new adaptation root path configuration
2025-02-16 21:38:44 +08:00
Lan
1ff1d6c695
style: code format
2025-02-15 22:00:53 +08:00
Lan
037949b715
feat: 新增webdav存储
2025-02-09 20:25:23 +08:00
Lan
964d091d0b
feat: 新增存储路径自定义,修复s3存储未删除文件#246
2025-02-08 22:41:32 +08:00
Lan
efbfec2471
fix: 页面二维码和预览文本
2024-11-28 19:08:44 +08:00
Lan
cc3a521d31
refact: some codes
2024-10-06 17:14:16 +08:00
Lan
83598956a1
fix:#204
2024-09-24 20:25:34 +08:00
Jialin0502
f430243b27
优化了部分文案
2024-07-28 22:19:45 +08:00
Jialin0502
8d62f6ec33
文本分享后端大小限制,文件限制返回为MB形式
2024-07-28 21:59:21 +08:00
lan
fafc56bc32
fix: issue #186
2024-07-28 19:03:37 +08:00
lan
e421ab93bc
update:存储改成单例模式,修复读取问题
2024-06-18 23:04:52 +08:00
vastsa
b3004a305a
Update utils.py
2024-06-18 18:54:21 +08:00
vastsa
af83340bc0
fix:文件大小变成字符串
2024-06-17 17:16:12 +08:00
lan
8eac6ed9fa
feat: 重写settings,放弃env存储,改到数据库
2024-06-15 20:06:14 +08:00
lan
a891fbe826
feat: 新增后台选择过期方式
2024-06-15 20:04:48 +08:00
lan
8215ef9e4b
fix: 修复文本取件问题
2024-05-06 13:02:00 +08:00
buyfakett
3563b86b82
后端移动文件夹,前端在docker中编译,进一步减小镜像大小
2024-05-02 00:29:33 +08:00
Yanlongli
2b3c5242df
fix: 阻止按日期授权时剩余次数无限减少
2024-03-29 14:23:12 +08:00
lan
873eac1aa3
fix: 永久取件失效问题
2024-01-14 13:30:18 +08:00
lan
4e9d859ab0
fix: 按单次取件过期问题
2024-01-11 17:51:05 +08:00
lan
c6e0d3282a
fix: 按时间过期问题
2024-01-11 17:27:30 +08:00
lan
d5659ebc9c
update:images
2023-12-06 08:37:33 +08:00