[mythtv] [mythtv-commits] mythtv commit: r17896 by kkuphal

Nigel Pearson nigel at ind.tansu.com.au
Sun Aug 3 23:20:51 UTC 2008


>       Author: kkuphal
>         Date: 2008-07-23 03:40:59 +0000 (Wed, 23 Jul 2008)
> New Revision: 17896
>    Changeset: http://cvs.mythtv.org/trac/changeset/17896
>
> Modified:
>    trunk/mythtv/libs/libmythdb/httpcomms.cpp
>
> Log:
> HTTP URL fix.  MythNews was unable to download thumbnails from  
> sites with queries without this fix


-    QHttpRequestHeader header("GET", url.path() + url.encodedQuery());
+    QHttpRequestHeader header("GET", url.toEncoded());


Kevin, can you explain the original fault a little more?


(change somehow causes UPnpDeviceDesc::Retrieve() to fail.
  It grabs XML from backends using URLS like
     http://149.135.128.182:6544/getDeviceDesc
  using
     QString sXml = HttpComms::getHttp( sURL,
                                        10000, // ms
                                        3,     // retries
                                        0,     // redirects
                                        false, // allow gzip
                                        NULL,  // login
                                        bInQtThread );
  but now gets an empty string.
)


--
Nigel Pearson, nigel at ind.tansu.com.au|"Smart mice ... varmints
Telstra Net. Eng., Sydney, Australia | used vector formulas.
Office: 9202 3900    Fax:  9261 3912 |   How'd you catch them?
Mobile: 0408 664435  Home: 9792 6998 | Smart cheese.





More information about the mythtv-dev mailing list