fix url encoding if it contains parameters
Merge pull request #38 from idflood/urlencoding

Fix url encoding if it contains parameters