Fix decode of URL buffer.