Re:Skype falls victim to text chat bug
by Paul_S on Wednesday June 03, 2015 @08:39AM
(#9652063)
Parsing URLs is hard. Writing tests to find potential segfaults is easier.
[ Parent
| on HN ]
Web browsers seem to manage to parse URLs quite well.
Doesn't this suggest that MS were doing something funky with the URLs or had some sort of code to operate on certain URLs differently? Why would simply linkifying break the whole app?
Re:Skype falls victim to text chat bug
by TazeTSchnitzel on Wednesday June 03, 2015 @10:20AM
(#9652724)
> Web browsers seem to manage to parse URLs quite well.
Somehow, I think web browsers' URL parsers might be a little bit more hardened...
What happened to code reuse? Microsoft seem to manage to parse URLs in emails fine too. Is it really that hard a problem that one of Microsoft's most installed apps should find it impossible to do without crapping its pants??
Re:Skype falls victim to text chat bug
by TheLoneWolfling on Wednesday June 03, 2015 @12:50PM
(#9653954)
That's a protoype browser engine rather than a product installed on millions of users devices. The fact that this relatively minor project found that parsing error through basic testing at prototype stage actually supports the position that Microsoft should have found this before.
https://github.com/servo/rust-url/blob/1f08064eda8c2873bd64e... - has the string http://: in at several places - are you telling me that MS wouldn't be expected to run similar test data against their URL parser in Skype prior to release?