$OpenBSD$ index c303c8d..3bf6a47 100644 --- mobile/android/components/HelperAppDialog.js.orig Fri Feb 20 15:40:37 2015 +++ mobile/android/components/HelperAppDialog.js Fri Feb 20 15:40:37 2015 @@ -73,6 +73,10 @@ HelperAppLauncherDialog.prototype = { // file to another application. let file = url.QueryInterface(Ci.nsIFileURL).file; + // Normalize the nsILocalFile in-place. This will ensure that paths + // can be correctly compared via `contains`, below. + file.normalize(); + // TODO: pref blacklist? let appRoot = FileUtils.getFile("XREExeF", []);