Commit 801ab0bc authored by Michael Smith's avatar Michael Smith

What was I on when I wrote this? oddsock pointed out that util_url_escape()

was chronically broken

svn path=/trunk/icecast/; revision=4602
parent 2cb0db8e
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment