Project

General

Profile

Actions

Feature #93982

open

Redirect Demand: Allow multiple targets and source_paths

Added by Guido Schmechel over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-04-24
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently, only one target and one source path are allowed for redirect requests. This is passed as a string to the demand. In contrast, you can pass the host with an array.

=> typo3/sysext/redirects/Classes/Repository/Demand.php

The RedirectRepository (typo3/sysext/redirects/Classes/Repository/RedirectRepository.php) and its function getQueryBuilderForDemand could be a little bit more flexible. We could change from string to array and add the constraints with a for loop.

Advantage: It is easier to merge the demands and thus use a pagination from the core. This as support for a third-party extension.

Hint: This would be breaking and may only be implemented from v12

Actions #1

Updated by Guido Schmechel over 3 years ago

  • Description updated (diff)
  • Target version deleted (Candidate for Major Version)
Actions

Also available in: Atom PDF