comments数据表中获取的用户浏览器信息有多个浏览器
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 12.4k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
1. 获取的用户浏览器信息有多个浏览器
2. 正常显示的应该是一种浏览器;例如谷歌浏览器,就应该显示Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 ;而不是这样显示:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36;上面有多个浏览器;附图

3. typecho 有关浏览器信息的获取
- 操作系统版本:win 10
- Apache/NGINX 版本:2.4.27
- 数据库版本:MySql 5.7.19
- PHP 版本:5.6.31
- Typecho 版本:最新稳定版
- 浏览器版本:Chrome 63.0.3239.84
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides no file, test, or entry point. Start by tracing how Typecho collects and displays browser information for comments, then reproduce the reported Chrome user-agent output. Done means the comments view shows one browser identity rather than listing browser components such as Chrome and Safari.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100