Fixed bug, missing url encode, thanks to Allan Th. Andersen