Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Attachments containing german special characters (Umlaut) are not shown in Notes

未关闭
#1,610 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
frontend

调研方向

在 Notes app 中同时上传 test.pdf 和 Übertest.pdf 以复现问题,然后跟踪附件上传和渲染流程,比较文件名的处理方式。通过验证带有德语变音符号的附件能够正确上传和显示,同时现有的 ASCII 文件名情况仍然正常工作,确认修复有效。

由索引模型根据 Issue 内容生成。

描述

bug need to reproduce

Error: Notes does not show attachments that are uploaded from files containing german special characters in their file name.

Steps:

  1. Create empty note
  2. Upload "test.pdf" → shown correctly
  3. Rename "test.pdf" to "Übertest.pdf" locally before upload
  4. Upload "Übertest.pdf" → ERROR, not shown

#Screenshot

Image

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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/notes 的其他 Issue

查看 nextcloud/notes 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。