control 'url' backends parameter with a regexp (closes #712)

This commit is contained in:
Romain Bignon 2011-10-25 13:33:03 +02:00
commit 68bb3cb274
3 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ class NewsfeedBackend(BaseBackend, ICapMessages):
VERSION = '0.a'
DESCRIPTION = "Loads RSS and Atom feeds from any website"
LICENSE = "AGPLv3+"
CONFIG = BackendConfig(Value('url', label="Atom/RSS feed's url"))
CONFIG = BackendConfig(Value('url', label="Atom/RSS feed's url", regexp='https?://.*'))
STORAGE = {'seen': []}