summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/htsname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/htsname.c b/src/htsname.c
index 61bc66f..5152a31 100644
--- a/src/htsname.c
+++ b/src/htsname.c
@@ -293,6 +293,7 @@ int url_savename(char *adr_complete, char *fil_complete, char *save,
}
// decode remaining % (normally not necessary; already done in htsparse.c)
+ // this will NOT decode buggy %xx (ie. not UTF-8) ones
if (hts_unescapeUrl(fil, catbuff, sizeof(catbuff)) == 0) {
strcpybuff(fil, catbuff);
} else {