授权扩展列表包含非标准扩展名称

I run a forum supporting open source software called KiCad. After a recent upgrade, some of the file extensions that users often upload are no longer working. There is a thread about it here:

The thing I am keying in on is that it’s only the extensions that have underscores in them. I hadn’t seen any file extensions like that before KiCad, but it’s a large part of the file extensions that are part of the software. The board files have an extension of “.kicad_pcb” and the footprint files are “kicad_mod”.

I have all of the files listed in the “authorized extensions”, as well as the asterisk, in hopes of getting this working. I tried searching through the git repo as well, but couldn’t find any restrictions on the extension type (though it doesn’t mean that’s not the case).

So only the ones with underscores are broken?

Yes, that’s correct.

我没想到要在另一个实例上试试,只是为了确认一下。

我刚刚启用了相同的扩展(“kicad_mod”),上传功能正常。但是,它表现出相同的行为:当你点击帖子中的文件链接时,会跳转到默认页面,显示“哎呀!该页面不存在或是私有的”。

这是否可能与生成的链接有关,而不是实际的上传问题?下划线是允许的吗?

例如,我刚才创建的链接是“/uploads/short-url/913bC7GjTf4cxyYtkr1Ej67ngER.kicad_mod”。

供参考,我使用的是 S3 实例进行存储 我刚刚在测试实例上再次确认,它使用的是本地存储。

感谢报告。我将在下周检查该问题。

这是论坛用户的另一个示例
https://forum.kicad.info/uploads/short-url/kkB1iEtT2JAEbNFZP4YclKPmgbC.kicad_pcb,他以为自己的上传已成功
又是一个下划线。用户并非试图使用 Unicode 字符。

现在已通过以下提交修复:

当此功能被包含在测试版构建中时,我们会有某种通知方式吗?

刚在我们的本地安装上测试过,运行良好。感谢更新!