diff options
author | Kévin Gomez <contact@kevingomez.fr> | 2015-10-17 16:57:41 +0200 |
---|---|---|
committer | Kévin Gomez <contact@kevingomez.fr> | 2015-11-11 16:23:49 +0100 |
commit | 1dc4e5da2e281ee8acc69ff025c42369cf778387 (patch) | |
tree | c57588864e872fe93d34ba4cf48d4476cab82656 /src | |
parent | 3447d1ee07bb64e57e69164127529f957dd47822 (diff) | |
download | wallabag-1dc4e5da2e281ee8acc69ff025c42369cf778387.tar.gz wallabag-1dc4e5da2e281ee8acc69ff025c42369cf778387.tar.zst wallabag-1dc4e5da2e281ee8acc69ff025c42369cf778387.zip |
Also validate used variables when creating tagging rules
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/TaggingRule.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/TaggingRule.php b/src/Wallabag/CoreBundle/Entity/TaggingRule.php index 20c15258..97a29336 100644 --- a/src/Wallabag/CoreBundle/Entity/TaggingRule.php +++ b/src/Wallabag/CoreBundle/Entity/TaggingRule.php | |||
@@ -28,7 +28,7 @@ class TaggingRule | |||
28 | * @var string | 28 | * @var string |
29 | * | 29 | * |
30 | * @Assert\NotBlank() | 30 | * @Assert\NotBlank() |
31 | * @RulerZAssert\ValidRule() | 31 | * @RulerZAssert\ValidRule(allowed_variables={"title", "url", "isArchived", "isStared", "content", "language", "mimetype", "readingTime", "domainName"}) |
32 | * @ORM\Column(name="rule", type="string", nullable=false) | 32 | * @ORM\Column(name="rule", type="string", nullable=false) |
33 | */ | 33 | */ |
34 | private $rule; | 34 | private $rule; |