diff --git a/Classes/Server.php b/Classes/Server.php index 6d65d68..4f068f1 100644 --- a/Classes/Server.php +++ b/Classes/Server.php @@ -193,6 +193,11 @@ class Server { $this->errors[] = new Exception('badArgument'); } } + if (isset($this->args['from']) && isset($this->args['until'])) { + if (strlen($this->args['from']) !== strlen($this->args['until'])) { + $this->errors[] = new Exception('badArgument'); + } + } if (isset($this->args['set'])) { $this->errors[] = new Exception('noSetHierarchy'); }