Project

General

Profile

Actions

Bug #95796

closed

Protocol is missing in absolute URLs

Added by Aimeos no-lastname-given about 3 years ago. Updated about 2 years ago.

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

100%

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

Description

TYPO3 10.4.17 and newer create absolute URLs without protocol, i.e.:

//mydomain.com/checkout

Instead of:
https://mydomain.com/checkout

These URLs are refused by payment gateways which should redirect afterwards to that URLs.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #90228: Typolink: Forcing absolute url scheme does not workClosed2020-01-28

Actions
Actions #1

Updated by Georg Ringer about 3 years ago

  • Status changed from New to Needs Feedback

Do you provide a domain and protocol in your site config?

Actions #2

Updated by Aimeos no-lastname-given about 3 years ago

Yes, base in site config is:

https://mydomain.com/

Actions #3

Updated by Georg Ringer about 3 years ago

to make reproducing a bit easier, which code do you use to generate the URL?

Actions #4

Updated by Aimeos no-lastname-given about 3 years ago

This is the code we use:
[[https://github.com/aimeos/ai-typo3/blob/master/lib/custom/src/MW/View/Helper/Url/Typo3.php#L80-L88]]

Has the behavior changed in 10.4.17 if the parameter for setAbsoluteUriScheme() is empty?

Actions #5

Updated by Aimeos no-lastname-given about 3 years ago

Problem solved by removing setAbsoluteUriScheme()!

Actions #6

Updated by Georg Ringer about 3 years ago

I traced it back to #90228.

Actions #7

Updated by Georg Ringer about 3 years ago

  • Related to Bug #89091: Page with a slug with trailing slash results in 404 added
Actions #8

Updated by Georg Ringer about 3 years ago

  • Related to deleted (Bug #89091: Page with a slug with trailing slash results in 404)
Actions #9

Updated by Georg Ringer about 3 years ago

  • Related to Bug #90228: Typolink: Forcing absolute url scheme does not work added
Actions #10

Updated by Georg Ringer about 3 years ago

  • Status changed from Needs Feedback to Accepted
Actions #11

Updated by Gerrit Code Review about 3 years ago

  • Status changed from Accepted to Under Review

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

Actions #12

Updated by Gerrit Code Review about 3 years ago

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

Actions #13

Updated by Gerrit Code Review about 3 years ago

Patch set 1 for branch 10.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/+/71927

Actions #14

Updated by Georg Ringer about 3 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF