Commit 16d125c
committed
Extend Content-Disposition "inline" to error responses
We don't expect a browser to save error responses to a file but we
extend this protection anyway since "inline" is only a suggestion
that shouldn't have any side effects.1 parent dccc781 commit 16d125c
File tree
2 files changed
+26
-3
lines changed- spring-webmvc/src
- main/java/org/springframework/web/servlet/mvc/method/annotation
- test/java/org/springframework/web/servlet/mvc/method/annotation
2 files changed
+26
-3
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| |||
Lines changed: 25 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
403 | 422 | | |
404 | 423 | | |
405 | 424 | | |
| |||
724 | 743 | | |
725 | 744 | | |
726 | 745 | | |
727 | | - | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
728 | 749 | | |
729 | 750 | | |
730 | | - | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
731 | 754 | | |
732 | 755 | | |
733 | 756 | | |
| |||
0 commit comments