Commit 64ce687f authored by Torsten Oppermann's avatar Torsten Oppermann

[TASK] New bugfixversion, preventing empty route entries

parent 5504f0c3
......@@ -128,6 +128,10 @@ class RoutingService {
if ($resultArray) {
foreach ($resultArray as $redirect) {
if ($redirect['source_url'] === '' || $redirect['destination_url'] === '') {
continue;
}
$appendParameters = '';
if ($requestParameters !== NULL && $requestParameters !== '' && $redirect['redirect_url_parameters']) {
$appendParameters = '?' . $requestParameters;
......
......@@ -86,7 +86,7 @@ return [
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
'eval' => 'trim, required'
],
],
'source_url_case_sensitive' => [
......@@ -104,7 +104,7 @@ return [
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim',
'eval' => 'trim, required',
'wizards' => [
'link' => [
'type' => 'popup',
......
......@@ -6,7 +6,7 @@
"license": [
"GPL-2.0-or-later"
],
"version": "2.3.3",
"version": "2.3.4",
"support": {
"issues": "https://gitlab.sgalinski.de/typo3/sg_routes"
},
......
......@@ -4,7 +4,7 @@ $EM_CONF[$_EXTKEY] = [
'title' => 'URL Redirects and Page Not Found Handling',
'description' => 'URL Redirects and Page Not Found Handling',
'category' => 'module',
'version' => '2.3.3',
'version' => '2.3.4',
'state' => 'stable',
'uploadfolder' => FALSE,
'createDirs' => '',
......
Markdown is supported
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