Url encoding bugs fixed.