Ticket #4676: mythurl.diff

File mythurl.diff, 998 bytes (added by amb@…, 13 years ago)
  • mythplugins/mythbrowser/mythbrowser/tabview.cpp

    old new  
    362362    if(groupStr.isEmpty() || urlStr.isEmpty())
    363363        return;
    364364
     365    urlStr.replace("&","&");
     366
    365367    MSqlQuery query(MSqlQuery::InitCon());
    366368    query.prepare("INSERT INTO websites (grp, dsc, url) VALUES(:GROUP, :DESC, :URL);");
    367369    query.bindValue(":GROUP",groupStr.utf8());
  • mythplugins/mythbrowser/mythbookmarkmanager/bookmarkmanager.cpp

    old new  
    404404    if(groupStr->isEmpty() || urlStr->isEmpty())
    405405        return;
    406406
     407    urlStr->replace("&","&");
     408
    407409    MSqlQuery query(MSqlQuery::InitCon());
    408410    query.prepare("INSERT INTO websites (grp, dsc, url) VALUES(:GROUP, :DESC, :URL);");
    409411    query.bindValue(":GROUP",groupStr->utf8());