Added a check for the OK file upload code to avoid checking all the alternatives when the upload was ok. Return from the method in the file size error branch when the file was not uploaded. Added a check in the MIME type validation to only check MIME types if the CUploadedFile's tempName is not empty.
Added a check for the OK file upload code to avoid checking all the
alternatives when the upload was ok.
Return from the method in the file size error branch when the file was
not uploaded.
Added a check in the MIME type validation to only check MIME types if
the CUploadedFile's tempName is not empty.
er361/yii-zadanie-somnium,ImAnilChaudhari/yii,makasim/PayumYiiExtensionSandbox,yiisoft/yii,Vartacom/yii,jackey/YiiAPI-Framework,l3xthanzero/trackstar,licailing/yii,lubosdz/yii,Vartacom/yii,ImAnilChaudhari/yii,auburus/yii,scriptius/blog,Vartacom/yii,marcovtwout/yii,er361/yii-zadanie-somnium,YaDelivery/yii,tvs-prarthana/yii,l3xthanzero/trackstar,GerrGIT/yii,sachintaware/yii,kurorido1990/dev-github,intersvyaz/yii,er361/yii-zadanie-somnium,YaDelivery/yii,makasim/PayumYiiExtensionSandbox,longhua828/yii,guber007/yii,scriptius/blog,phoenix3008/yii,intersvyaz/yii,lubosdz/yii,scriptius/blog,lubosdz/yii,longhua828/yii,guber007/yii,yiichina/yii,Yanan1021/yii,GerrGIT/yii,guber007/yii,guber007/yii,lsjing/yii,mudrezzz/testphp,ImAnilChaudhari/yii,auburus/yii,longhua828/yii,yiichina/yii,ImAnilChaudhari/yii,Yanan1021/yii,l3xthanzero/trackstar,janisto/yii,lsjing/yii,phoenix3008/yii,wbfree/yii-tutorial,kurorido1990/dev-github,marcovtwout/yii,er361/yii-zadanie-somnium,Yanan1021/yii,mudrezzz/testphp,tvs-prarthana/yii,yiisoft/yii,Vartacom/yii,sachintaware/yii,licailing/yii,kurorido1990/dev-github,Corfiot/yii,tvs-prarthana/yii,wbfree/yii-tutorial,marcovtwout/yii,Infowatch/yii,licailing/yii,auburus/yii,sachintaware/yii,softark/yii,GerrGIT/yii,marcovtwout/yii,scriptius/blog,janisto/yii,intersvyaz/yii,lsjing/yii,softark/yii,licailing/yii,jackey/YiiAPI-Framework,makasim/PayumYiiExtensionSandbox,phoenix3008/yii,YaDelivery/yii,lsjing/yii,trewor-kapusta/yii,kurorido1990/dev-github,trewor-kapusta/yii,yiichina/yii,lubosdz/yii,tvs-prarthana/yii,mudrezzz/testphp,auburus/yii,Corfiot/yii,janisto/yii,YaDelivery/yii,longhua828/yii,makasim/PayumYiiExtensionSandbox,mudrezzz/testphp,GerrGIT/yii,sachintaware/yii,Infowatch/yii,phoenix3008/yii,janisto/yii