From 8219259c39f19f45c2f094a6ba7930f940b1074a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 5 May 2015 18:18:36 +0200 Subject: epub: Decode URL escapes in epub paths. --- include/mupdf/fitz/string.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/mupdf/fitz/string.h b/include/mupdf/fitz/string.h index 4de882a6..010dc46a 100644 --- a/include/mupdf/fitz/string.h +++ b/include/mupdf/fitz/string.h @@ -57,6 +57,11 @@ int fz_strlcat(char *dst, const char *src, int n); */ void fz_dirname(char *dir, const char *path, int dirsize); +/* + fz_urldecode: decode url escapes. +*/ +char *fz_urldecode(char *url); + /* fz_cleanname: rewrite path to the shortest string that names the same path. -- cgit v1.2.3