=== modified file 'components/aboutHome.js' --- ubufox/components/aboutHome.js 2010-04-09 13:17:27 +0000 +++ ubufox/components/aboutHome.js 2010-07-17 19:05:27 +0000 @@ -43,7 +43,7 @@ var HOMEPAGE_OFFLINE = "file:///usr/share/ubuntu-artwork/home/index.html"; var HOMEPAGE_OFFLINE_TMPL = "/usr/share/ubuntu-artwork/home/locales/index-" -var HOMEPAGE_ONLINE_PREFIX = "http://start.ubuntu.com/10.04/"; +var HOMEPAGE_ONLINE_PREFIX = "http://start.ubuntu.com/10.04"; function getIsOffline() { var ios = Cc["@mozilla.org/network/io-service;1"] @@ -121,7 +121,8 @@ if (!getIsOffline()) { let searchEngineName = getCurrentSearchEngineName(); - let channel = ios.newChannel(HOMEPAGE_ONLINE_PREFIX + "/" + searchEngineName + "/", null, null); + let uri = HOMEPAGE_ONLINE_PREFIX + "/" + searchEngineName + "/"; + let channel = ios.newChannel(uri, null, null); channel.originalURI = aURI; channel.owner = principal; return channel;