I assume you're making this safe to put in a URL. I think HTTParty does that for you - have you seen evidence that it's not doing that?