Attachments containing german special characters (Umlaut) are not shown in Notes
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
在 Notes app 中同时上传 test.pdf 和 Übertest.pdf 以复现问题,然后跟踪附件上传和渲染流程,比较文件名的处理方式。通过验证带有德语变音符号的附件能够正确上传和显示,同时现有的 ASCII 文件名情况仍然正常工作,确认修复有效。
由索引模型根据 Issue 内容生成。
描述
Error: Notes does not show attachments that are uploaded from files containing german special characters in their file name.
Steps:
- Create empty note
- Upload "test.pdf" → shown correctly
- Rename "test.pdf" to "Übertest.pdf" locally before upload
- Upload "Übertest.pdf" → ERROR, not shown
#Screenshot
Notes app version: 4.12.2
- Nextcloud version: Nextcloud Hub 9 (30.0.13)
- OS: Ubuntu 22
- Web server: apache2
- PHP version: 8.3
- Database: Mysql 8.0
Nextcloud configuration:
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"314159.wolkesicher.de"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "30.0.13.1",
"overwrite.cli.url": "https://314159.wolkesicher.de",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"integrity.check.disabled": true,
"enable_previews": true,
"loglevel": "4",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "PLAIN",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "587",
"mail_sendmailmode": "smtp",
"mail_smtpauth": true,
"simpleSignUpLink.shown": false,
"versions_retention_obligation": "10,30",
"trashbin_retention_obligation": "10,30",
"activity_expire_days": "30",
"quota_include_external_storage": false,
"upgrade.disable-web": false,
"appcodechecker": false,
"config_is_read_only": false,
"filesystem_check_changes": "0",
"check_data_directory_permissions": false,
"log_type": "syslog",
"syslog_tag": "Nextcloud-oc39977",
"check_for_working_htaccess": false,
"check_for_working_wellknown_setup": false,
"has_internet_connection": true,
"updatechecker": false,
"session_lifetime": 86400,
"remember_login_cookie_lifetime": 86400,
"knowledgebaseenabled": false,
"tempdirectory": "/home/oc39977/tmp",
"session_keepalive": false,
"auto_logout": false,
"files_external_allow_create_new_local": false,
"default_phone_region": "DE",
"maintenance_window_start": "1",
"onlyoffice": {
"verify_peer_off": true,
"editors_check_interval": "0"
},
"preview_max_memory": 1280,
"enabledPreviewProviders": [
"OC\Preview\BMP",
"OC\Preview\GIF",
"OC\Preview\JPEG",
"OC\Preview\Krita",
"OC\Preview\Markdown",
"OC\Preview\MP3",
"OC\Preview\OpenDocument",
"OC\Preview\PNG",
"OC\Preview\TXT",
"OC\Preview\XBitmap",
"OC\Preview\Imaginary",
"OC\Preview\Image",
"OC\Preview\HEIC",
"OC\Preview\TIFF",
"OC\Preview\Movie"
],
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 6379,
"timeout": 0,
"password": "REMOVED SENSITIVE VALUE"
},
"filelocking.enabled": true,
"memcache.locking": "\OC\Memcache\Redis",
"memcache.local": "\OC\Memcache\Redis",
"maintenance": false,
"bulkupload.enabled": false,
"appstoreenabled": true,
"appstoreurl": "https://apiato.com/v1",
"htaccess.RewriteBase": "/",
"default_language": "de",
"default_locale": "de_DE",
"forbidden_filename_basenames": [
"con",
"prn",
"aux",
"nul",
"com0",
"com1",
"com2",
"com3",
"com4",
"com5",
"com6",
"com7",
"com8",
"com9",
"com\u00b9",
"com\u00b2",
"com\u00b3",
"lpt0",
"lpt1",
"lpt2",
"lpt3",
"lpt4",
"lpt5",
"lpt6",
"lpt7",
"lpt8",
"lpt9",
"lpt\u00b9",
"lpt\u00b2",
"lpt\u00b3"
],
"forbidden_filename_characters": [
"<",
">",
":",
""",
"|",
"?",
"*",
"\",
"/"
],
"forbidden_filename_extensions": [
" ",
".",
".filepart",
".part"
]
}
}
Client
Please complete the following information.
- FireFox 141.0
- OS: MacOS Sequoia 15.5
- 主要语言
- JavaScript
- 星标
- 738
- 派生
- 162
- 平均合并
- 2 小时 32 分钟
- 30 天内合并 PR
- 41
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/notes 的其他 Issue
-
bug need to reproduce
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
bug need to reproduce
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
feature request needs discussion
难度 1/5 1 小时以内 新手友好度 62/100
nextcloud/notes#1344 · 1 条评论 ·
维护者通常 1 天内回复
-
feature request needs discussion
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
相似的 Issue
-
check:passed logos:add
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
component/administration domain/framework needs-triage Platform(Default) priority/low
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
semantic-release/gitlab#1032 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
agentic-workflows
难度 1/5 1 小时以内 新手友好度 85/100
githubnext/gh-aw-workshop#3933 ·
维护者通常 2 天内回复