mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
What was I on when I wrote this? oddsock pointed out that util_url_escape()
was chronically broken svn path=/trunk/icecast/; revision=4602
This commit is contained in:
parent
2cb0db8e80
commit
801ab0bc3e
@ -253,8 +253,8 @@ char *util_url_escape(char *src)
|
||||
}
|
||||
else {
|
||||
dst[j] = '%';
|
||||
dst[j+1] = hexchars[ source[i] & 0x15 ];
|
||||
dst[j+2] = hexchars[ (source[i] >> 4) & 0x15 ];
|
||||
dst[j+1] = hexchars[ (source[i] >> 4) & 0xf ];
|
||||
dst[j+2] = hexchars[ source[i] & 0xf ];
|
||||
j+= 3;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user