Commit ed9e05e
committed
URL-encode spaces as %20 in picon HTTP request URLs
When fetching picons from the web interface, channel names containing
spaces were used as-is in the HTTP URL, causing 400 Bad Request errors.
URL-encode spaces as %20 in both code paths:
- Channel::CreateIconPath() (UseOnlinePicons without OpenWebIf path)
- Channels::LoadChannelsExtraData() (UseOpenWebIfPiconPath)1 parent 30efd53 commit ed9e05e
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
349 | 351 | | |
350 | 352 | | |
351 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
185 | 189 | | |
186 | 190 | | |
187 | 191 | | |
| |||
0 commit comments