1 | 916,923c916,935
|
---|
2 | < m_sBaseUrl = tokens[1].section( '?', 0, 0).stripWhiteSpace();
|
---|
3 | <
|
---|
4 | < // Process any Query String Parameters
|
---|
5 | <
|
---|
6 | < QString sQueryStr = tokens[1].section( '?', 1, 1 );
|
---|
7 | <
|
---|
8 | < if (sQueryStr.length() > 0)
|
---|
9 | < GetParameters( sQueryStr, m_mapParams );
|
---|
10 | ---
|
---|
11 | > int nIdx = tokens[1].find( "%3F") ;
|
---|
12 | > char srchbuf[12];
|
---|
13 | > if (nIdx >= 0)
|
---|
14 | > {
|
---|
15 | > strcpy(srchbuf, "%3F");
|
---|
16 | > VERBOSE(VB_UPNP, "_3F_");
|
---|
17 | > m_sBaseUrl = tokens[1].section( srchbuf, 0, 0).stripWhiteSpace();
|
---|
18 | > // Process any Query String Parameters
|
---|
19 | > QString sQueryStr = tokens[1].section( "%3F", 1, 1 );
|
---|
20 | > if (sQueryStr.length() > 0)
|
---|
21 | > GetParameters( sQueryStr, m_mapParams );
|
---|
22 | >
|
---|
23 | > } else {
|
---|
24 | > strcpy(srchbuf, "?");
|
---|
25 | > VERBOSE(VB_UPNP, "_?_");
|
---|
26 | > m_sBaseUrl = tokens[1].section( srchbuf, 0, 0).stripWhiteSpace();
|
---|
27 | > // Process any Query String Parameters
|
---|
28 | > QString sQueryStr = tokens[1].section( '?', 1, 1 );
|
---|
29 | > if (sQueryStr.length() > 0)
|
---|
30 | > GetParameters( sQueryStr, m_mapParams );
|
---|
31 | 924a937
|
---|
32 | > }
|
---|
33 |
|
---|