Yay for missing this email. On Friday 24 September 2010 22:19:21 James Vega wrote: > Specifically for non-HTML responses from FTP sites, we could split the > response on newlines and examine each line on its own (like the attached > patch). This would prevent sloppy regexes from slurping up multiple > lines.
Yes, I think that's a good way to fix this bug. > I wouldn't be comfortable doing this with the http:// watch lines or > HTML responses from ftp:// watch lines though since those are more > likely to not be nicely contained to a single physical line. Agreed. I should review the code one of this days, but uscan shouldn't allow a regex to swallow some html (XSS anyone?). Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org