Commit 79d83fe
committed
Fix WebSocketClient dropping query string from URL during handshake (#2468)
The constructor stored only uc.path in path_, discarding uc.query, so the
WebSocket upgrade handshake sent the Request-URI without the query string.
Append the query to path_ so query parameters (e.g. auth tokens) are sent.1 parent fe56a07 commit 79d83fe
2 files changed
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20266 | 20266 | | |
20267 | 20267 | | |
20268 | 20268 | | |
| 20269 | + | |
20269 | 20270 | | |
20270 | 20271 | | |
20271 | 20272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18191 | 18191 | | |
18192 | 18192 | | |
18193 | 18193 | | |
| 18194 | + | |
| 18195 | + | |
| 18196 | + | |
| 18197 | + | |
| 18198 | + | |
| 18199 | + | |
| 18200 | + | |
| 18201 | + | |
| 18202 | + | |
| 18203 | + | |
| 18204 | + | |
| 18205 | + | |
| 18206 | + | |
| 18207 | + | |
| 18208 | + | |
| 18209 | + | |
| 18210 | + | |
| 18211 | + | |
| 18212 | + | |
| 18213 | + | |
| 18214 | + | |
| 18215 | + | |
| 18216 | + | |
| 18217 | + | |
| 18218 | + | |
| 18219 | + | |
| 18220 | + | |
| 18221 | + | |
| 18222 | + | |
| 18223 | + | |
| 18224 | + | |
| 18225 | + | |
| 18226 | + | |
| 18227 | + | |
| 18228 | + | |
| 18229 | + | |
| 18230 | + | |
| 18231 | + | |
| 18232 | + | |
| 18233 | + | |
| 18234 | + | |
| 18235 | + | |
| 18236 | + | |
| 18237 | + | |
| 18238 | + | |
18194 | 18239 | | |
18195 | 18240 | | |
18196 | 18241 | | |
| |||
0 commit comments