Skip to content
Snippets Groups Projects
Commit cc794988 authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

SL-13487 File extension checks should ignore case

parent 2d84f8f6
No related branches found
No related tags found
No related merge requests found
......@@ -391,7 +391,9 @@ const void upload_single_file(const std::vector<std::string>& filenames, LLFileP
}
if (type == LLFilePicker::FFLOAD_ANIM)
{
if (filename.rfind(".anim") != std::string::npos)
std::string filename_lc(filename);
LLStringUtil::toLower(filename_lc);
if (filename_lc.rfind(".anim") != std::string::npos)
{
LLFloaterReg::showInstance("upload_anim_anim", LLSD(filename));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment