diff options
author | default <nobody@localhost> | 2022-11-16 13:13:31 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-11-16 13:13:31 +0100 |
commit | 236ca9af6b66cfc0c20c4fd5a2b5c8c187bfe3f4 (patch) | |
tree | c808cdec072ca3dc8af8ac65df44ff35bc5f52b2 /snac.h | |
parent | 45584746d0f2c5fbfe1f5a6e0572d8ddd4f4f582 (diff) |
Call sanitize() as soon as possible.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -135,8 +135,8 @@ int activitypub_post_handler(d_char *req, char *q_path, char *payload, int p_size, char **body, int *b_size, char **ctype); -d_char *not_really_markdown(char *content); -d_char *sanitize(d_char *str); +d_char *not_really_markdown(const char *content); +d_char *sanitize(const 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, |