mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:25:50 +00:00
fixing vuln
This commit is contained in:
parent
7da9fba393
commit
9cb5fc54fa
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class OwnerController {
|
|||
|
||||
this.owners.save(owner);
|
||||
redirectAttributes.addFlashAttribute("message", "New Owner Created");
|
||||
return "redirect:/owners/" + owner.getId();
|
||||
return "redirect <p th:text="${owner.lastName}"></p>:/owners/" + owner.getId();
|
||||
}
|
||||
|
||||
@GetMapping("/owners/find")
|
||||
|
|
Loading…
Reference in a new issue