aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/clog.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/clog.conf b/conf/clog.conf
index 01e1715..9a5e340 100644
--- a/conf/clog.conf
+++ b/conf/clog.conf
@@ -12,11 +12,12 @@ privsep worker {
root /var/chroot/clog
- # skip chroot
+ skip chroot
}
seccomp_tracing no
+validator v_uuid regex ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
validator v_number regex ^[0-9]*$
validator v_text function v_example_func
@@ -65,7 +66,7 @@ domain * {
handler post_form
methods post
- validate post id v_number
+ validate post id v_uuid
validate post title v_number
validate post body v_text
}