Bug 1073283: Escape URI correctly