Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Fixing bug where file with uppper case extension does not load
Browse files Browse the repository at this point in the history
  • Loading branch information
brianking committed Aug 18, 2010
1 parent 2912b4e commit fb6f9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/photoupload/photoupload.js
Expand Up @@ -739,7 +739,7 @@ var PhotoDNDObserverFF30 = {
{
var ext = f.path.substring(f.path.lastIndexOf(".")+1);

return (validImageFileSuffixes.indexOf(ext) != -1);
return (validImageFileSuffixes.indexOf(ext.toLowerCase()) != -1);
};

if (tmpfile.isDirectory())
Expand Down

0 comments on commit fb6f9c1

Please sign in to comment.