Project

General

Profile

Actions

Bug #103935

closed

InvalidArgumentException "Unsupported scheme android-app" in CSP reporter

Added by Manfred Egger 6 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-05-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

It appears that when opening a page via the google search bar on Android devices an InvalidArgumentException is thrown because the search bar sends an referer with scheme "android-app".

I hunted this down to core/Classes/Middleware/AbstractContentSecurityPolicyReporter.php on line 97 where a TYPO3\CMS\Core\Http\Uri is constructed with the referrer android-app://com.google.android.googlequicksearchbox/

I only found one similar issue in a TYPO3 extension: https://github.com/urbantrout/site-language-redirection/issues/6
Maybe this helps with solving the issue?


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #103190: Unsupported scheme "wss"; must be any empty string or in the set (http, https)ClosedOliver Hader2024-02-23

Actions
Actions #1

Updated by Gerrit Code Review 6 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84426

Actions #2

Updated by Gerrit Code Review 6 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84426

Actions #3

Updated by Oliver Hader 6 months ago

  • Related to Bug #103190: Unsupported scheme "wss"; must be any empty string or in the set (http, https) added
Actions #4

Updated by Gerrit Code Review 5 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84426

Actions #5

Updated by Gerrit Code Review 5 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84426

Actions #6

Updated by Gerrit Code Review 5 months ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84426

Actions #7

Updated by Gerrit Code Review 4 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85518

Actions #8

Updated by Oliver Hader 4 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack about 1 month ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF