[TASK] Make hreflang generator use PSR7 interface 74/58274/7
authorRichard Haeser <richard@maxserv.com>
Fri, 14 Sep 2018 09:28:09 +0000 (11:28 +0200)
committerBenni Mack <benni@typo3.org>
Sun, 16 Sep 2018 19:49:40 +0000 (21:49 +0200)
commit840fe9b261bc8b19065098bb93241f42f07a4f53
tree8eb080ff8ed4c8b1ef724c54975f6e74e4a9b399
parent7a1e923376ca9b66754d936a74fe7a7c61b49fcb
[TASK] Make hreflang generator use PSR7 interface

Use the Uri class to check if a host is given in the url
to determine if an absolute url should be generated.

Resolves: #86253
Releases: master
Change-Id: Ib84d391b0564f29352eda93a814f5d9b46696f37
Reviewed-on: https://review.typo3.org/58274
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/seo/Classes/HrefLang/HrefLangGenerator.php [new file with mode: 0644]
typo3/sysext/seo/Classes/HrefLang/HreflangGenerator.php [deleted file]
typo3/sysext/seo/Tests/Unit/HrefLang/HrefLangGeneratorTest.php [new file with mode: 0644]
typo3/sysext/seo/ext_localconf.php