[mythtv-commits] Ticket #3075: Edit metadata screen will not save metadata to database if an edited field contains a quote ( ' ) character.

MythTV mythtv at cvs.mythtv.org
Sun Feb 11 17:12:43 UTC 2007


#3075: Edit metadata screen will not save metadata to database if an edited field
contains a quote ( ' ) character.
----------------------------------------+-----------------------------------
 Reporter:  briand <turbo at talstar.com>  |       Owner:  ijr    
     Type:  defect                      |      Status:  new    
 Priority:  minor                       |   Milestone:  unknown
Component:  mythmusic                   |     Version:  head   
 Severity:  low                         |  
----------------------------------------+-----------------------------------
 When editing metadata information in my mp3 collection, and opting to save
 changes to the database and the mp3 tags, I found that if the title
 contained a single quote ( ' ) character ("I'm Alright", "It's Still Rock
 and Roll To Me", "It's a Heartache", etc), none of the changed information
 would be saved to the music_* tables in the database.

 I suspect that special characters are not escaped in the string(s) prior
 to building the SQL UPDATE statement, and this is causing the update(s) to
 fail.  No error message is displayed.

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


More information about the mythtv-commits mailing list