Closed (won't fix)
Project:
Drupal core
Version:
4.7.0-beta6
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2006 at 05:09 UTC
Updated:
15 Mar 2006 at 08:07 UTC
After upgrading to Beta 6 the javascript code I had in my site mission field get displayed (not evaluated).
In other words you now see the script like:
This is an open site, please participate or even join us. Bookmark SiteBuddy!" var url = "http://www.sitebuddy.com"; var who = "SiteBuddy Tech Help"; var ver = navigator.appName var num = parseInt(navigator.appVersion) if ((ver == "Microsoft Internet Explorer")&&(num >= 4)) { document.write(''+ txt + '') }else{ txt += " (Ctrl+D)" document.write(txt) } //-->
Until Beta6 upgrade, the javascript in mission field worked fine.
Thanks,
Christophe
Note: It's not letting post the full script even within "code" tags...says something about suspecious activity....
Comments
Comment #1
killes@www.drop.org commentedPreviously the mission field was not properly escaped, now it is. This has the side efect that you can't add JS anymore. This should be done in your theme.
Comment #2
chrisd commentedBummer...
"This should be done in your theme." will do.
Thanks,
Chris