Cindy 浏览器无法访问本地开发部署的网页(localhost 被安全策略拦截)
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
## 现象
使用 Cindy 内置浏览器访问本地开发部署的网页(如 http://localhost:3000)时,被安全策略拦截,返回 "browser navigation blocked by policy" 错误。
## 复现步骤
1. 在本地启动开发服务(例如 React / Vite 开发服务器,监听 localhost:3000)
2. 在 Cindy 中使用浏览器工具导航到 http://localhost:3000
3. 观察到浏览器报错
## 期望行为
Cindy 浏览器能够正常访问本地开发部署的网页(localhost 地址)。
## 实际行为
浏览器返回 "browser navigation blocked by policy",完全无法访问任何 localhost 地址,严重影响需要在 Cindy 中预览本地开发页面的场景。
Contributor guide
Research direction
Search the browser navigation policy for the exact error message "browser navigation blocked by policy", then reproduce the issue with a local service at http://localhost:3000. Determine how localhost navigation is filtered and verify that Cindy can load local development pages without weakening the policy for other destinations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100