Fix redirect &(ampersands) error.

Fix issue with &(ampersands) in url's getting parsed.
Url's where getting cut at the first ampersand.