[BUGFIX] Handle empty absRefPrefix in PageLinkBuilder 16/56616/3
authorOliver Hader <oliver@typo3.org>
Mon, 9 Apr 2018 18:11:50 +0000 (20:11 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 9 Apr 2018 18:58:22 +0000 (20:58 +0200)
commit52e88b7a68fde39ad37d96fde326090e4f3f596b
tree0be0cfffb604e27a842e9dc71413a459337b07a8
parent3fa35bfbdb6e23199816e3c9d9c4220eda57318e
[BUGFIX] Handle empty absRefPrefix in PageLinkBuilder

Using empty values for absRefPrefix as needle in strpos() will
throw a warning. In order to avoid that, it's now checked more
explicitly if the prefixed slash originally was absRefPrefix.

Resolves: #84676
Releases: master
Change-Id: I7515e8d283b2d68e39f7a0451432d453471088f0
Reviewed-on: https://review.typo3.org/56616
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php