Merge pull request #5567 from capilkey/ff60-fileupload-warning
Add a 64-bit check to the Firefox 60+ upload block
This commit is contained in:
commit
6468ac3459
@ -121,7 +121,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
// All of the code around the "firefox60" state is just a temporary stop gap to mitigate a regression
|
||||
// in file uploading in Firefox 60+
|
||||
if (presentOptions.disableFirefoxF60Upload && Capabilities.os.indexOf("Windows") != -1 && BrowserCheck.isFirefox() && BrowserCheck.browserMajorVersion >= "60") {
|
||||
if (presentOptions.disableFirefoxF60Upload && Capabilities.os.indexOf("Windows") != -1 &&
|
||||
BrowserCheck.isFirefox() && BrowserCheck.browserMajorVersion >= "60" && BrowserCheck.isWin64()) {
|
||||
currentState = "firefox60";
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
package org.bigbluebutton.util.browser {
|
||||
import flash.external.ExternalInterface;
|
||||
|
||||
|
||||
import org.as3commons.lang.StringUtils;
|
||||
import org.as3commons.logging.api.ILogger;
|
||||
import org.as3commons.logging.api.getClassLogger;
|
||||
@ -72,6 +72,11 @@ package org.bigbluebutton.util.browser {
|
||||
public static function isPuffin46AndAbove():Boolean {
|
||||
return browserName.toLowerCase() == "puffin" && String(_fullVersion).substr(0, 3) >= "4.6";
|
||||
}
|
||||
|
||||
public static function isWin64():Boolean {
|
||||
var platform:String = ExternalInterface.call("window.navigator.platform.toString");
|
||||
return StringUtils.equals(platform, "Win64");
|
||||
}
|
||||
|
||||
private static function getBrowserInfo():void {
|
||||
if (ExternalInterface.available && StringUtils.isEmpty(browserName)) {
|
||||
|
Loading…
Reference in New Issue
Block a user