Skip to content
Snippets Groups Projects

Issue #3422141 by mably: make manuel web tasks use absolute for internal urls

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -63,7 +63,7 @@ class TaskHandler {
else {
$query_options = ['queueid_or_token' => $queueID];
}
$handler = $queueRecord->handler->getString();
if ($handler && !empty($handler) && $queueRecord->is_interactive->getString() == '1') {
@@ -89,7 +89,7 @@ class TaskHandler {
break;
case 'internal':
$url = Url::fromUserInput($handler, ['query' => $query_options])->toString();
$url = Url::fromUserInput($handler, ['query' => $query_options, 'absolute' => TRUE])->toString();
break;
case 'function':
Loading