diff options
Diffstat (limited to 'src/htslib.c')
-rw-r--r-- | src/htslib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htslib.c b/src/htslib.c index 8db1273..c2fcc7d 100644 --- a/src/htslib.c +++ b/src/htslib.c @@ -3805,7 +3805,7 @@ HTSEXT_API void x_escape_http(char* s,int mode) { while(*s) { int test=0; if (mode == 0) - test=(strchr("\" ",*s)!=0); + test=(strchr("\" ",*s)!=0 || CHAR_SPECIAL(*s)); else if (mode==1) { test = ( CHAR_RESERVED(*s) || CHAR_DELIM(*s) |