escaping urls before parsing