Bug 1038834 - Prevent url-encoded ! from causing an error