mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-14 04:00:57 +03:00
Ensured tags are not sluggified when using them to filter short URL lists
This commit is contained in:
parent
7105add009
commit
11879ea377
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class ShortUrlsParamsInputFilter extends InputFilter
|
|||
|
||||
$tags = $this->createArrayInput(self::TAGS, false);
|
||||
$tags->getFilterChain()->attach(new Filter\StringToLower())
|
||||
->attach(new Validation\SluggerFilter());
|
||||
->attach(new Filter\PregReplace(['pattern' => '/ /', 'replacement' => '-']));
|
||||
$this->add($tags);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue