summaryrefslogtreecommitdiff
path: root/src/htstools.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-14 17:21:12 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-14 17:21:12 +0000
commit180308e6ec525bd051fad5e0e0bfd4bb17442aef (patch)
treef1e46fff7bc636c9c3d6083c2e79ce8d77675327 /src/htstools.c
parent90326d5cf6aed6f91ea37e833c4536e248079ff3 (diff)
Escaping fixes when the final disk filename contains a %
Diffstat (limited to 'src/htstools.c')
-rw-r--r--src/htstools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htstools.c b/src/htstools.c
index bb2915d..77fa70e 100644
--- a/src/htstools.c
+++ b/src/htstools.c
@@ -898,7 +898,7 @@ HTSEXT_API int hts_buildtopindex(httrackp * opt, const char *path,
char BIGSTK hname[HTS_URLMAXSIZE * 2];
strcpybuff(hname, sortedElts[i]->name);
- escape_check_url(hname);
+ escape_uri_utf(hname);
/* Changed category */
if (strcmp(category, sortedElts[i]->category) != 0) {