Commit f5c4ece1 authored by Markus Klein's avatar Markus Klein Committed by Wouter Wolters
Browse files

[BUGFIX] Handle invalid link strings gracefully in LinkHandler

Resolves: #79623
Releases: master
Change-Id: Iefef14b968d4edfbfbe221ee5b58e3947d5f0d9c

Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <>
Tested-by: default avatarTYPO3com <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: default avatarThomas Hohn <>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Tested-by: Wouter Wolters's avatarWouter Wolters <>
parent ec71cf95
......@@ -58,12 +58,10 @@ class UrlLinkHandler extends AbstractLinkHandler implements LinkHandlerInterface
public function canHandleLink(array $linkParts)
if (!$linkParts['url']) {
if (!isset($linkParts['url']['url'])) {
return false;
if (isset($linkParts['url']['url'])) {
$linkParts['url'] = $linkParts['url']['url'];
$linkParts['url'] = $linkParts['url']['url'];
$this->linkParts = $linkParts;
return true;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment