Commit 8288dd2
fix: return interop form data over HttpContext in RequestShim.Form
In Blazor Server interactive circuits, HttpContext is available (from
the SignalR WebSocket connection), but its Request.Form contains the
WebSocket upgrade request data, not the interactive form submission.
When SetFormData() has been called (WebFormsForm submit), the cached
interop-backed FormShim must take priority.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ea737c7 commit 8288dd2
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
| |||
80 | 87 | | |
81 | 88 | | |
82 | 89 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
0 commit comments