diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-06-24 13:50:59 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-06-24 13:50:59 -0400 |
commit | 57e22bb49145d0c4da64b8ff76540b286c55a448 (patch) | |
tree | c714756284742c85cf82e7ea9b20de3a54626ccd /src/settings.sml | |
parent | 25f4cc36cfd766a9d5ca7e6572b291c23fd16c5d (diff) |
'noXsrfProtection' .urp directive
Diffstat (limited to 'src/settings.sml')
-rw-r--r-- | src/settings.sml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/settings.sml b/src/settings.sml index 69d67959..26aaad95 100644 --- a/src/settings.sml +++ b/src/settings.sml @@ -1,4 +1,4 @@ -(* Copyright (c) 2008-2010, Adam Chlipala +(* Copyright (c) 2008-2011, Adam Chlipala * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -570,4 +570,8 @@ val alwaysInline = ref SS.empty fun addAlwaysInline s = alwaysInline := SS.add (!alwaysInline, s) fun checkAlwaysInline s = SS.member (!alwaysInline, s) +val noXsrfProtection = ref SS.empty +fun addNoXsrfProtection s = noXsrfProtection := SS.add (!noXsrfProtection, s) +fun checkNoXsrfProtection s = SS.member (!noXsrfProtection, s) + end |