diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/htscore.c | 2 | ||||
-rw-r--r-- | src/htsparse.c | 1 | ||||
-rw-r--r-- | src/htstools.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/htscore.c b/src/htscore.c index e0293fa..dd57b29 100644 --- a/src/htscore.c +++ b/src/htscore.c @@ -239,7 +239,7 @@ if (makeindex_fp) { \ if (makeindex_links == 1) { \ char BIGSTK link_escaped[HTS_URLMAXSIZE*2]; \ strcpybuff(link_escaped, makeindex_firstlink); \ - escape_check_url(link_escaped); \ + escape_uri_utf(link_escaped); \ sprintf(tempo,"<meta HTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=%s\">"CRLF, link_escaped); \ } else \ tempo[0]='\0'; \ diff --git a/src/htsparse.c b/src/htsparse.c index 69dabde..e1380a0 100644 --- a/src/htsparse.c +++ b/src/htsparse.c @@ -732,6 +732,7 @@ int htsparse(htsmoduleStruct * str, htsmoduleStructExtended * stre) { } // Body + escape_uri_utf(tempo); fprintf(makeindex_fp, template_body, tempo, s); } } 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) { |