Remove port from safe_origin check