codeigniter4 / codeigniter4/CodeIgniter4

Bug: Chrome "Access other apps and services on this device" permission appears on CodeIgniter 4 projects

オープン
#10,514 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
PHP
スター
6k
フォーク
2k
平均マージ
1日 11時間
マージ済み PR(30日)
73

説明

### 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

Image

- 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。