summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-cgi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-01-08 23:33:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-01-08 23:33:47 +0000
commit9fcdf0fe81f3c5142b8abd3f701dc3964549742a (patch)
tree2d189d22e4686a8aeb55c452221042582d68b95d /libs/sgi-cgi
parent3812f2908731c6ff5e59aec4e0c899dbff35c469 (diff)
libs/web: introduce recursive expression support for datatypes, introduce "or" and "and" datatypes
The commit adds a recursive parser for datatype expressions which allows nesting of validators, this allows for complex expressions like "list(or(range(0,65535),'infinite'))" to allow a list of values which are either integers between 0 and 65535 or the literal string "inifinite". That change also deprecates combined datatypes like "ipaddr" ["or(ip4addr,ip6addr)"] or "host" ["or(hostname,ip4addr,ip6addr)"]
Diffstat (limited to 'libs/sgi-cgi')
0 files changed, 0 insertions, 0 deletions