adminer v5.4.3 版本更新介绍
发布日期: 2026-07-09
版本号: v5.4.3
本次更新包含多项安全修复,如增强请求头校验、转义请求URI、严格验证服务器信息,并针对SQLite禁用了ATTACH、VACUUM INTO等高风险命令及删除文件前的校验。功能改进方面,优化了排序、显示、导出和权限控制体验,修复了PostgreSQL的序列导出、空值排序及运算符支持等问题,并解决了多个界面显示回归缺陷。此外,新增了克罗地亚语翻译。
更新内容 (中文)
- 检查Sec-Fetch-Site请求头(https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg)
- 转义REQUEST_URI参数(https://github.com/vrana/adminer/security/advisories/GHSA-c533-9qwm-8w5h,缺陷报告#1298)
- 验证服务器身份(https://github.com/vrana/adminer/security/advisories/GHSA-r4x9-5m63-3vxw)
- 验证服务器版本(https://github.com/vrana/adminer/security/advisories/GHSA-h6jr-7pr6-grgj)
- SQLite:禁用ATTACH命令(https://github.com/vrana/adminer/security/advisories/GHSA-q4f2-39gr-45jh)
- SQLite:禁用VACUUM INTO命令(https://github.com/vrana/adminer/security/advisories/GHSA-gmx3-g29w-77wf)
- SQLite:删除前验证文件名(https://github.com/vrana/adminer/security/advisories/GHSA-6pg3-chwq-wgqc)
- 暴力破解防护中避免使用unserialize()函数(缺陷报告#1289)
- 表概览:支持排序功能(缺陷报告#1231)
- 数据查询:无更新权限时禁用Ctrl+点击内联编辑
- 数据查询:列标题显示NULL值
- 数据导出:保留未勾选对象(5.0.6版本回归问题)
- 外键:错误时显示新字段
- PostgreSQL:NULL值排序置于末尾
- PostgreSQL:显示所有SQL命令警告且仅显示一次
- PostgreSQL:序列字段导出为SERIAL类型而非nextval()
- PostgreSQL:修复GENERATED AS IDENTITY导出问题(缺陷报告#1260)
- PostgreSQL:在nextval()中导出模式名
- PostgreSQL:在REFERENCES中导出模式名
- PostgreSQL:添加~*正则操作符(缺陷报告#1271)
- 编辑器:将tinyint(1)显示为复选框(缺陷报告#1246,5.4.2版本回归问题)
- 克罗地亚语翻译
更新内容 (原始)
- Check Sec-Fetch-Site header (https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg)
- Escape REQUEST_URI (https://github.com/vrana/adminer/security/advisories/GHSA-c533-9qwm-8w5h, bug #1298)
- Validate server (https://github.com/vrana/adminer/security/advisories/GHSA-r4x9-5m63-3vxw)
- Validate server version (https://github.com/vrana/adminer/security/advisories/GHSA-h6jr-7pr6-grgj)
- SQLite: Disallow ATTACH commands (https://github.com/vrana/adminer/security/advisories/GHSA-q4f2-39gr-45jh)
- SQLite: Disallow VACUUM INTO commands (https://github.com/vrana/adminer/security/advisories/GHSA-gmx3-g29w-77wf)
- SQLite: Check filename before deleting (https://github.com/vrana/adminer/security/advisories/GHSA-6pg3-chwq-wgqc)
- Avoid unserialize() in brute force protection (bug #1289)
- Tables overview: allow sorting (bug #1231)
- Select: Disable Ctrl+click inline edit without UPDATE privilege
- Select: Display NULL in column title
- Export: Remember unchecked objects (regression from 5.0.6)
- Foreign key: Display new field in case of an error
- PostgreSQL: Order NULL last
- PostgreSQL: Display all SQL command warnings and only once
- PostgreSQL: Export serial as serial, not nextval()
- PostgreSQL: Fix GENERATED AS IDENTITY export (bug #1260)
- PostgreSQL: Export schema in nextval()
- PostgreSQL: Export schema in REFERENCES
- PostgreSQL: Add ~* operator (bug #1271)
- Editor: Display tinyint(1) as checkbox (bug #1246, regression from 5.4.2)
- Croatian translation