Skip to content

Commit

Permalink
In the migration to Spring 2, this method lost its get mapping to the…
Browse files Browse the repository at this point in the history
… IDOR/profile url,breaking the javascript call to that address. (WebGoat#720)

thanks!
  • Loading branch information
thegoodcrumpets authored and zubcevic committed Dec 4, 2019
1 parent c5ec2d4 commit 681a20a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class IDORViewOwnProfile {
@Autowired
UserSessionData userSessionData;

@GetMapping(path = "IDOR/own", produces = {"application/json"})
@GetMapping(path = {"IDOR/own", "IDOR/profile"}, produces = {"application/json"})
@ResponseBody
public Map<String, Object> invoke() {
Map<String,Object> details = new HashMap<>();
Expand Down

0 comments on commit 681a20a

Please sign in to comment.