Bug #95796
closedProtocol is missing in absolute URLs
100%
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.
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?
Updated by Aimeos no-lastname-given about 3 years ago
Yes, base in site config is:
https://mydomain.com/
Updated by Georg Ringer about 3 years ago
to make reproducing a bit easier, which code do you use to generate the URL?
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?
Updated by Aimeos no-lastname-given about 3 years ago
Problem solved by removing setAbsoluteUriScheme()!
Updated by Georg Ringer about 3 years ago
- Related to Bug #89091: Page with a slug with trailing slash results in 404 added
Updated by Georg Ringer about 3 years ago
- Related to deleted (Bug #89091: Page with a slug with trailing slash results in 404)
Updated by Georg Ringer about 3 years ago
- Related to Bug #90228: Typolink: Forcing absolute url scheme does not work added
Updated by Georg Ringer about 3 years ago
- Status changed from Needs Feedback to Accepted
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
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
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
Updated by Georg Ringer about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4be84438d952e73407239feae4fa7595dd7ae7a8.