    public function duplicateTeam(Team $team, Request $request)
    {
        $newTeam = clone $team;
        $newTeam->setName($team->getName() . ' [COPY]');

        try {
            $this->repository->saveTeam($newTeam);
            $this->flashSuccess('action.update.success');

            return $this->redirectToRoute('admin_team_edit', ['id' => $newTeam->getId()]);
        } catch (\Exception $ex) {
            $this->flashUpdateException($ex);
        }

        return $this->redirectToRoute('admin_team');
    }
The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request.