mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Ensured tags are not sluggified when using them to filter short URL lists
This commit is contained in:
parent
7105add009
commit
11879ea377
@ -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…
Reference in New Issue
Block a user