diff --git libs/libmythupnp/httprequest.cpp libs/libmythupnp/httprequest.cpp
index 929306c..0def7e0 100644
|
|
|
|
| 945 | 945 | QString sName = (*it).section( '=', 0, 0 ); |
| 946 | 946 | QString sValue = (*it).section( '=', 1 ); |
| 947 | 947 | sValue.replace("+"," "); |
| 948 | | |
| 949 | 948 | if ((sName.length() != 0) && (sValue.length() !=0)) |
| 950 | 949 | { |
| 951 | 950 | sName = QUrl::fromPercentEncoding(sName.toUtf8()); |
| 952 | 951 | sValue = QUrl::fromPercentEncoding(sValue.toUtf8()); |
| 953 | | |
| 954 | 952 | mapParams.insert( sName.trimmed(), sValue ); |
| 955 | 953 | nCount++; |
| 956 | 954 | } |
| … |
… |
|
| 1214 | 1212 | m_sResourceUrl = m_sBaseUrl; // Save complete url without parameters |
| 1215 | 1213 | |
| 1216 | 1214 | // Process any Query String Parameters |
| 1217 | | QString sQueryStr = (QUrl::fromPercentEncoding(tokens[1].toUtf8())) |
| 1218 | | .section( '?', 1, 1 ); |
| | 1215 | QString sQueryStr = tokens[1].section( '?', 1, 1 ); |
| 1219 | 1216 | |
| 1220 | 1217 | if (sQueryStr.length() > 0) |
| 1221 | 1218 | GetParameters( sQueryStr, m_mapParams ); |