http://bugs.winehq.org/show_bug.cgi?id=27115
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |paulc@voip.null.ro Regression SHA1| |0825f4b3ff3718752b5f6addd95 | |bc30c10f75d24
--- Comment #1 from Austin English austinenglish@gmail.com 2011-11-01 23:35:52 CDT --- austin@aw25 ~/wine-blah $ git bisect bad 0825f4b3ff3718752b5f6addd95bc30c10f75d24 is the first bad commit commit 0825f4b3ff3718752b5f6addd95bc30c10f75d24 Author: Paul Chitescu paulc@voip.null.ro Date: Thu Jul 1 13:17:42 2010 +0300
mshtml: Pass the data read from resource to FindMimeFromData.
:040000 040000 17e41cd68cb0b3ca866675f1a72ba677fd6295f2 dc70ef6bf1b78b3ef490e077eb16f811e878b94b M dlls
The patch is small: - hres = FindMimeFromData(NULL, url_file, NULL, 0, NULL, 0, &mime, 0); + hres = FindMimeFromData(NULL, url_file, This->data, This->data_len, NULL, 0, &mime, 0);
changing This->data back to NULL allows it to work. The same applies in wine-1.3.31-261-g3f74c58. Seems simple enough, though I suppose that needs tests..