diff options
Diffstat (limited to 'include/httpd.h')
-rw-r--r-- | include/httpd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/httpd.h b/include/httpd.h index a96e4d62..30bdc71b 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -1495,6 +1495,14 @@ AP_DECLARE(char *) ap_os_escape_path(apr_pool_t *p, const char *path, int partia * @return The escaped string */ AP_DECLARE(char *) ap_escape_html(apr_pool_t *p, const char *s); +/** + * Escape an html string + * @param p The pool to allocate from + * @param s The html to escape + * @param toasc Whether to escape all non-ASCII chars to &#nnn; + * @return The escaped string + */ +AP_DECLARE(char *) ap_escape_html2(apr_pool_t *p, const char *s, int toasc); /** * Escape a string for logging |