codeigniter4 / codeigniter4/CodeIgniter4
Bug: Chrome "Access other apps and services on this device" permission appears on CodeIgniter 4 projects
- 主要語言
- PHP
- 星號
- 6k
- 分支
- 2k
- 平均合併
- 1 天 16 小時
- 30 天內合併 PR
- 81
描述
### PHP Version
8.2, 8.4
### CodeIgniter4 Version
4.7.4
### CodeIgniter4 Installation Method
Manual (zip or tar.gz)
### Which operating systems have you tested for this bug?
Windows
### Which server did you use?
apache
### Environment
development
### Database
_No response_
### What happened?
## Describe the bug
I am experiencing an unexpected Chrome permission popup on multiple
CodeIgniter 4 projects.
When I open CodeIgniter 4 applications in Google Chrome, Chrome displays:
"[website] wants to Access other apps and services on this device"
with **Allow** and **Block** options.
This is happening across multiple CodeIgniter 4 projects that I have
developed, not just one particular website.
The projects are different applications, but the same permission popup
appears when accessing them through Chrome.
## Expected behavior
A standard CodeIgniter 4 application should not request permission to
access other apps or services on the user's device unless the application
explicitly performs an operation that requires such access.
## Actual behavior
Chrome shows the "Access other apps and services on this device"
permission prompt when loading CodeIgniter 4 applications.
## Environment
- CodeIgniter 4: 4.7.4
- PHP: 8.4
- Browser: Google Chrome
- OS: Windows
- Occurs on: Multiple CodeIgniter 4 projects
## Additional information
This behavior is occurring consistently across several CodeIgniter 4
projects, including projects with different functionality.
I would like to confirm whether CodeIgniter 4 itself, its development
server, default configuration, response headers, or any framework-related
behavior could be causing Chrome to request this permission.
If this is not caused by CodeIgniter 4, guidance on how to identify what
is triggering the browser's Local Network Access permission would also
be helpful.
I can provide browser console/network logs and additional project details
if required.
### Steps to Reproduce
1. Create or open any CodeIgniter 4 project.
2. Run the CodeIgniter 4 application normally.
3. Open the application in the latest version of Google Chrome.
4. The application loads successfully.
5. A Chrome permission popup appears asking:
"[website] wants to Access other apps and services on this device"
6. The popup provides **Allow** and **Block** options.
7. The same behavior occurs across multiple different CodeIgniter 4 projects.
### Expected Output
The CodeIgniter 4 application should load normally without displaying a
browser permission request to "Access other apps and services on this
device", unless the application explicitly requires access to local
devices or services.
A standard CodeIgniter 4 application should not trigger this permission
request unexpectedly.
### Anything else?
This is not happening on only one website or one specific CodeIgniter 4
application.
I have observed the same Chrome permission popup on multiple CodeIgniter 4
projects that I have developed.
The popup appears in Google Chrome with the message:
"[website] wants to Access other apps and services on this device"
I would like to know whether this behavior can be related to CodeIgniter 4,
its development server, framework configuration, response headers, or
whether it is being triggered by something else in the browser/application.
Screenshot attached showing the permission popup.
I can provide Chrome console logs, Network logs, CodeIgniter version,
PHP version, and a sample project if required.
貢獻指南
研究方向
先在 Windows 上使用 Apache 和 Chrome 的最小 CodeIgniter 4.7.4 專案中重現該彈出視窗,然後檢查報告中提到的瀏覽器主控台和 Network 記錄。將回應標頭、預設設定以及開發伺服器行為與受影響的專案進行比較;完成的標準是確認 CodeIgniter 是否觸發權限請求,或記錄是哪個外部應用程式或瀏覽器行為觸發了該請求。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- apache, php
- 領域
- backend, web-dev
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 活躍
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100