| Summary: | uPnP does not work with some d-link routers [patch] | ||
|---|---|---|---|
| Product: | [Applications] ktorrent | Reporter: | Osipov Oleg <legolegs> |
| Component: | general | Assignee: | Joris Guisson <joris.guisson> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | arjunak234 |
| Priority: | NOR | ||
| Version First Reported In: | 4.3.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/libktorrent/ac4455532a73c1e98426b71a30c3f3e98c702463 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Made HTTP header match case-insensitive. Fixes issue with d-link DIR-300 | ||
|
Description
Osipov Oleg
2014-12-09 20:51:27 UTC
Created attachment 89890 [details]
Made HTTP header match case-insensitive. Fixes issue with d-link DIR-300
Please post the patch here: https://git.reviewboard.kde.org/r/new/ Git commit ac4455532a73c1e98426b71a30c3f3e98c702463 by Martin T. H. Sandsmark. Committed on 06/10/2016 at 21:38. Pushed by sandsmark into branch 'master'. Fix parsing of headers from certain D-Link routers Dlink uPnP service spells "location" header as "lOCATION" (with lower-case L) which confuses libktorrent expecting "Location", "location" or "LOCATION". This patch makes uPnP plugin accept those headers since they are valid. Modified version of patch from Oleg Osipov. REVIEW: 121463 M +2 -2 src/upnp/upnpmcastsocket.cpp http://commits.kde.org/libktorrent/ac4455532a73c1e98426b71a30c3f3e98c702463 |