> On Feb. 26, 2013, 6:33 p.m., Nikita Skovoroda wrote: > > I don't like something about it, needs some checks. > > I'll do them a bit later today. > > Nikita Skovoroda wrote: > You are checking for .contains(), but using the whole value. > > The «v» parameter in > «http://youtube.com/?v=idf32"></iframe><div>…</div><iframe%20src="» contains > QRegExp validId(QLatin1String("[a-zA-Z0-9_-]+")). > > Nikita Skovoroda wrote: > Can't check it from master right now, slow internet connection. > I'll be able to fully test it when I'll be home tommorow in the evening. > > If you can, please test it on the following url: > http://youtube.com/?v=i%22%3E%3C%2Fiframe%3E%3Cdiv+style%3D%22position%3Aabsolute%3Bleft%3A0%3Bright%3A0%3Btop%3A0%3Bbottom%3A0%3Bfont-size%3A30px%3Btext-align%3Acenter%3Bbackground%3Ared%3Bcolor%3Ablack%22%3EHello%2C+world%21%3C%2Fdiv%3E%3Ciframe+src%3D%22 > > I'm not sure about this one, if it does nothing, I'll better check > everything myself when I'll be able to get the code.
Fixed url: http://youtube.com?v=i%22%3E%3C%2Fiframe%3E%3Cdiv%20style%3D%22position%3Aabsolute%3Bleft%3A0%3Bright%3A0%3Btop%3A0%3Bbottom%3A0%3Bfont-size%3A30px%3Btext-align%3Acenter%3Bbackground%3Ared%3Bcolor%3Ablack%22%3EHello%2C%20world%21%3C%2Fdiv%3E%3Ciframe%20src%3D%22 - Nikita ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/109158/#review28160 ----------------------------------------------------------- On Feb. 25, 2013, 9:31 p.m., Lasath Fernando wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/109158/ > ----------------------------------------------------------- > > (Updated Feb. 25, 2013, 9:31 p.m.) > > > Review request for Telepathy, David Edmundson and Nikita Skovoroda. > > > Description > ------- > > Since there was little hope of getting that giant demotivating patch merged > all in one go, I thought I may as well submit little patches as I have time. > > I cherry picked the commit that added the Youtube filter, and then changed > the code to make it work with the current MessageProcessor. > > > Diffs > ----- > > filters/youtube/youtube-filter.cpp 74729a3 > > Diff: http://git.reviewboard.kde.org/r/109158/diff/ > > > Testing > ------- > > Sent myself cool videos. ;-) > > > Thanks, > > Lasath Fernando > >
_______________________________________________ KDE-Telepathy mailing list KDE-Telepathy@kde.org https://mail.kde.org/mailman/listinfo/kde-telepathy