GNOME Bugzilla – Bug 511450
Autorun does not correctly detect unusual casings of autorun.inf or autorun.exe
Last modified: 2008-01-28 12:51:03 UTC
The autorun code only checks for "autorun.inf", "AUTORUN.INF", "autorun.exe", and "AUTORUN.EXE". However, there are many casings available and used. Some of my discs have "Autorun.inf", "AutoRun.inf", or even odder. The autorun content type detection code should therefore be case-insensitive when checking the existance of these files.
Created attachment 103522 [details] [review] Use a case-insensitive search for autorun.inf or autorun.exe Defines a utility function nautilus_find_file_insensitive(), and uses it to search for autorun.inf and autorun.exe case-insensitively.
Commited with a few changes. Thanks.