mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 02:39:24 +01:00
Also validate used variables when creating tagging rules
This commit is contained in:
parent
3447d1ee07
commit
1dc4e5da2e
@ -28,7 +28,7 @@ class TaggingRule
|
||||
* @var string
|
||||
*
|
||||
* @Assert\NotBlank()
|
||||
* @RulerZAssert\ValidRule()
|
||||
* @RulerZAssert\ValidRule(allowed_variables={"title", "url", "isArchived", "isStared", "content", "language", "mimetype", "readingTime", "domainName"})
|
||||
* @ORM\Column(name="rule", type="string", nullable=false)
|
||||
*/
|
||||
private $rule;
|
||||
|
Loading…
Reference in New Issue
Block a user