diff options
author | default <nobody@localhost> | 2022-10-28 18:06:42 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-28 18:06:42 +0200 |
commit | 5ee9504b1801f106f152ef9d60620ad88454d390 (patch) | |
tree | 8974400798b1a30c2b07cdebb6f6b8d4c7d8ccc1 /snac.h | |
parent | 2b590cd90ddbce6b23e2ea35a8b624c90991ceb2 (diff) |
Be more aggressive in HTML sanitization.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -134,6 +134,8 @@ int activitypub_post_handler(d_char *req, char *q_path, char **body, int *b_size, char **ctype); d_char *not_really_markdown(char *content, d_char **f_content); +d_char *sanitize(d_char *str); + int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char **ctype); int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, char **body, int *b_size, char **ctype); |