Commit d80f6dc
Yuriy Bezsonov
fix(security): avoid exposing error details in ThreadManagementController
Replace e.getMessage() with generic error messages to prevent
leaking internal error information to external users.
Resolves code scanning alerts #49 and #50.1 parent f6e2029 commit d80f6dc
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- apps/unicorn-store-spring/src/main/java/com/unicorn/store/controller
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments