${os} 参数识别错误导致邮件中通知为 Unknown #7039
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
前置条件
系统信息
使用的哪种方式运行?
Docker Compose
发生了什么?
Halo 无法识别 OpenHarmony 设备的
user-agent
,导致在application/src/main/resources/extensions/notification-templates.yaml
的你的 [(${site.title})] 账号被用于在 [(${os})] 上登录
中的[(${os})]
被填充为Unknown
。参考 UA:
Mozilla/5.0 (Phone; OpenHarmony 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 ArkWeb/4.1.6.1 Mobile HuaweiBrowser/5.0.4.300
The text was updated successfully, but these errors were encountered: