diff options
author | John Ankarström <john@ankarstrom.se> | 2021-09-19 01:20:30 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-09-19 01:20:30 +0200 |
commit | 4b838fced8cd5fd2c24300e3f9132a1474051a76 (patch) | |
tree | 62be70f1da57b87c863f03eb9054056f9b841aa2 /site.h | |
parent | 7708b5f493bf3057af331624d29664ad17a87dbc (diff) | |
download | cforum-4b838fced8cd5fd2c24300e3f9132a1474051a76.tar.gz |
Implement URL decode and HTML escape functions
Diffstat (limited to 'site.h')
-rw-r--r-- | site.h | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -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 |