Commit 0e9e2856 authored by Thomas Löffler's avatar Thomas Löffler

Remove underscores when checking for valid extension key length

parent 0029ccdc
Pipeline #3964 passed with stages
in 5 minutes and 25 seconds
......@@ -1304,7 +1304,7 @@ class tx_ter_api
}
// Length
$extensionKeyLength = strlen($extensionKey);
$extensionKeyLength = strlen(str_replace('_', '', $extensionKey));
if ($extensionKeyLength < 3 || $extensionKeyLength > 30) {
$validKey = false;
}
......
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