aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
diff options
context:
space:
mode:
authorKévin Gomez <contact@kevingomez.fr>2015-10-17 16:57:41 +0200
committerKévin Gomez <contact@kevingomez.fr>2015-11-11 16:23:49 +0100
commit1dc4e5da2e281ee8acc69ff025c42369cf778387 (patch)
treec57588864e872fe93d34ba4cf48d4476cab82656 /src/Wallabag/CoreBundle
parent3447d1ee07bb64e57e69164127529f957dd47822 (diff)
downloadwallabag-1dc4e5da2e281ee8acc69ff025c42369cf778387.tar.gz
wallabag-1dc4e5da2e281ee8acc69ff025c42369cf778387.tar.zst
wallabag-1dc4e5da2e281ee8acc69ff025c42369cf778387.zip
Also validate used variables when creating tagging rules
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r--src/Wallabag/CoreBundle/Entity/TaggingRule.php2
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;