aboutsummaryrefslogtreecommitdiff
path: root/site.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-09-19 01:20:30 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-09-19 01:20:30 +0200
commit4b838fced8cd5fd2c24300e3f9132a1474051a76 (patch)
tree62be70f1da57b87c863f03eb9054056f9b841aa2 /site.h
parent7708b5f493bf3057af331624d29664ad17a87dbc (diff)
downloadcforum-4b838fced8cd5fd2c24300e3f9132a1474051a76.tar.gz
Implement URL decode and HTML escape functions
Diffstat (limited to 'site.h')
-rw-r--r--site.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/site.h b/site.h
index 800cdea..8c70a64 100644
--- a/site.h
+++ b/site.h
@@ -1,17 +1,8 @@
-/*
- * TODO: It is probably better to use the CONTENT_LENGTH
- * environment variable to decide the length of the entire
- * posted query string and then compare it to a max value,
- * such as:
- */
-
+/* Maximum allowed Content-Length for various forms. */
#define MAXATTDATA 4096
#define MAXUSERDATA 512
#define MAXPOSTDATA 4096
-/* Maximum size of newuser parameter, incl. NUL. */
-#define MAXUSERPARAM 512
-
/* Maximum size of user information, incl. NUL. */
#define MAXUSERNAME 40
#define MAXUSERFULL 128