diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-05-05 18:18:36 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-05-05 20:02:20 +0200 |
commit | 8219259c39f19f45c2f094a6ba7930f940b1074a (patch) | |
tree | d6b654c99a91f119c66bd805d5ab28c0807d922f /include | |
parent | 3d81ce6e34e6216b4ec67deee50aab60097a52b0 (diff) | |
download | mupdf-8219259c39f19f45c2f094a6ba7930f940b1074a.tar.xz |
epub: Decode URL escapes in epub paths.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/string.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -58,6 +58,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. Eliminates multiple and trailing slashes, interprets "." and "..". |