Created attachment 325744 [details] patch to fix watchlogs.js Description of problem: when logged into koji web interface using SSL, the "Watch logs" feature doesn't work (at least, not when using Firefox 3). Version-Release number of selected component (if applicable): Whatever's running on koji.fedoraproject.org right now. Steps to Reproduce: 1. Logon to https://koji.fedoraproject.org and select "Tasks" tab 2. Click on an active buildArch task 3. Click on the "Watch logs" link at the bottom of the page Actual results: Firefox error pops up: Error checking if task was finished: RequestOpenFailed [module 'urllib' version: 1.1.4]: Opening of HTTP Request failed. [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "https://koji.fedoraproject.org/koji-static/js/jsolait/init.js Line: 255"] Expected results: Watch the build logs scroll. Additional info: The problem is that watchlogs.js is trying to access unsecure 'http://'+window.location.hostname from a page loaded as https://koji.fedoraproject.org. Looks like Firefox won't allow this. Simple fix is to access window.location.protocol+'//'+window.location.hostname instead - see attachment for details.
fixed in the current koji deployment