diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-11-19 18:13:45 +0200 | 
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2020-11-19 18:13:45 +0200 | 
| commit | cc794988a759dd0f523a19a994514ce49fbc98da (patch) | |
| tree | d78adbcb774be5dfe85a6db18e6bf84d3706babd | |
| parent | 2d84f8f6c89e0a3f0d4f692e6280eb53500d6393 (diff) | |
SL-13487 File extension checks should ignore case
| -rw-r--r-- | indra/newview/llviewermenufile.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp index 865ac2bb7b..4b231c7067 100644 --- a/indra/newview/llviewermenufile.cpp +++ b/indra/newview/llviewermenufile.cpp @@ -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));  			} | 
