Commit 3d9dd93 introduced a regression in HTTP: if a URI without a path is specified (e.g. http://netboot.me), we send the empty string as our GET request. Reintroduce an extra slash when uri->path is NULL, to turn this into the expected GET /. Reported-by: Kyle Kienapfel <doctor.whom@gmail.com> Signed-off-by: Joshua Oreman <oremanj@rwcr.net> Signed-off-by: Marty Connor <mdc@etherboot.org>tags/v1.0.0
|
||
| 452 | 452 |
|
| 453 | 453 |
|
| 454 | 454 |
|
| 455 |
|
|
| 455 |
|
|
| 456 | 456 |
|
| 457 | 457 |
|
| 458 | 458 |
|
| 459 | 459 |
|
| 460 |
|
|
| 460 | 461 |
|
| 461 | 462 |
|
| 462 | 463 |
|