[mythtv-commits] Ticket #8837: mytharchive fails when recording title has a slash somewhere

MythTV mythtv at cvs.mythtv.org
Sun Aug 29 19:59:19 UTC 2010


#8837: mytharchive fails when recording title has a slash somewhere
-------------------------------------------------------+--------------------
     Reporter:  Bjorn Gustafsson <bjorne-g@…>          |       Owner:  paulh  
         Type:  defect                                 |      Status:  new    
     Priority:  minor                                  |   Milestone:  unknown
    Component:  Plugin - MythArchive                   |     Version:  0.23.1 
     Severity:  medium                                 |    Keywords:         
Ticket locked:  0                                      |  
-------------------------------------------------------+--------------------
 I archive a recording to file. In the title there is a slash - e.g. "Naked
 Gun 3 1/3".
 Mytharchive will then fail with:


 2010-08-28 21:34:57.280 MythNativeWizard: Failed to open file for writing
 - /mnt/share/video/Nakna pistolen 33 1/3/4064_20100828024000.mpg.xml


 I did have a quick look at mytharchivehelper/main.cpp - it looks like
 mytharchivehelper uses the title as a path without checks that verifies
 that it is a valid path.

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


More information about the mythtv-commits mailing list