From 403c15f3937e612e8f25e63f65fcee8bec3090e3 Mon Sep 17 00:00:00 2001 From: Jorge Arellano Cid Date: Tue, 8 Sep 2009 14:16:54 -0400 Subject: Fixed URL unescaping in the datauri DPI --- dpi/dpiutil.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dpi/dpiutil.h') diff --git a/dpi/dpiutil.h b/dpi/dpiutil.h index 239f5862..b137fa0c 100644 --- a/dpi/dpiutil.h +++ b/dpi/dpiutil.h @@ -71,6 +71,12 @@ void sock_handler_free(SockHandler *sh); */ char *Escape_uri_str(const char *str, const char *p_esc_set); +/* + * Unescape %XX sequences in a string. + * Return value: a new unescaped string + */ +char *Unescape_uri_str(const char *str); + /* * Escape unsafe characters as html entities. * Return value: New escaped string. -- cgit v1.2.3