[mythtv-commits] Ticket #7817: Add quoting to the location passed to the weather parsers

MythTV mythtv at cvs.mythtv.org
Mon Mar 8 12:08:07 UTC 2010


#7817: Add quoting to the location passed to the weather parsers
---------------------------------+------------------------------------------
 Reporter:  knight@…             |       Owner:  kormoc 
     Type:  patch                |      Status:  new    
 Priority:  trivial              |   Milestone:  unknown
Component:  Plugin - MythWeb     |     Version:  head   
 Severity:  low                  |     Mlocked:  0      
---------------------------------+------------------------------------------

Comment(by Nicolas Riendeau <knight@…>):

 Replying to [comment:1 dstancl@…]:
 > Another solution: add '''escapeshellcmd''' to method
 '''WeatherScreen::runScript''':
 >
 > {{{
 > $command  = escapeshellcmd("$script $args");
 > }}}

 The description of what this does sounds to me like it could cause
 problems with some parsers.

 Interesting command though... (-;

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7817#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list