Don't let an attachment occur in the middle of a parameter, and don't let a url end with a "