[mythtv-commits] Ticket #8132: CDS_Control/Browse can't process IDs containing '&' in GET requests

MythTV mythtv at cvs.mythtv.org
Thu Mar 4 04:46:38 UTC 2010


#8132: CDS_Control/Browse can't process IDs containing '&' in GET requests
-------------------------------------------------+--------------------------
 Reporter:  Kris Raney <mythtv@…>                |       Owner:  dblain 
     Type:  defect                               |      Status:  new    
 Priority:  minor                                |   Milestone:  unknown
Component:  MythTV - UPnP                        |     Version:  unknown
 Severity:  medium                               |     Mlocked:  0      
-------------------------------------------------+--------------------------
 The problem is in HTTPRequest::GetParameters - it performs substitutions
 on %26 and &amp; BEFORE splitting the get request into fields. So no
 matter how you escape the ampersands in a program name, it always gets
 interpreted as a field separator.

 For example, "ObjectID=RecTv/1/key=Law%20%26%%20Order" would first get
 unescaped to "ObjectID=RecTv/1/key=Law & Order", and then split up into an
 "ObjectID" field with a value of "RecTv/1/key=Law " and an "Order" field.

 Of course, standard UPnP would be making SOAP requests rather than GET
 requests, but having GET working properly is handy for testing.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8132>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list