fix bug: path contains invalid param,eg:"/domain