DSpace XSS shock terror in IE 7

Comments

2 comments posted
I'm guessing that your DSpace

I'm guessing that your DSpace page was accessed via https, and the browser was complaining about a non-https request on an http page?
The other way to fix that is just to make sure you access the google analytics script via https -- the latest Google Analytics instructions (if not the latest Dspace instructions) tell you how to include the script so it will be automatically be accessed via the correct protocol for the page (including a page that can sometimes be http and sometimes be https): http://www.google.com/support/googleanalytics/bin/answer.py?answer=55488...
Or better yet, the new asynchronous version will give you better page performance:  http://www.google.com/support/googleanalytics/bin/answer.py?answer=174090
Following either of those instructions should eliminate the "http in an https page" warning.  DSpace instructions are possibly based on very old Google instructions, or are DSpace developers own 'innovation' that doesn't work right.
The downside of the way you've done it instead is if Google's script changes, you'll still be using the old cached version you've got, which may cause Analytics to stop working or work incorrectly until you notice and update your cached version. 
Personally, I'd follow Google's instructions instead.

Posted by Jonathan Rochkind (not verified) on Thu, 09/30/2010 - 09:26
All these alternatives sound

All these alternatives sound great.  My solution was more along the lines of satisfying 'good' versus 'good enough'  Sure using the newest tracker code would be good but it is tough to overlook the solution that needs one wget and two seconds with vim.

Posted by tim ribaric on Mon, 10/04/2010 - 14:14