GNOME Bugzilla – Bug 595027
autorun.inf icon parsing is too strict
Last modified: 2013-11-01 10:06:33 UTC
Created attachment 143085 [details] [review] patch it's possible that a hardware product will be shipping with an autorun.inf whose contents is approximately: [autorun] icon = icon.ico this works fine on Windows, sadly it doesn't work with gvfs because the regexp introduced by bug 154549 is too strict. I am going to try to fix the autorun.inf file to not include spaces, however it's possible that i missed the flash freeze. And as this is a perfectly valid file, it's quite likely there are other such files in the while for other products.
Thanks for your patch! Looking at the source this patch is still valid. I do not have an autorun.inf file at my hands right now, however looking at the inf defintion at http://technet.microsoft.com/en-us/library/dd346952.aspx there are many times spaces around the "=" thus I think this is very reasonable. Could somebody apply, it is just a single line..
Pushed to master with tweaks as 0f5d4be. Thanks!