#49884 [Opn->Csd]: forget <script> tag

From: Date: Thu, 15 Oct 2009 03:46:16 +0000
Subject: #49884 [Opn->Csd]: forget <script> tag
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-6215@lists.php.net to get a copy of this message
ID: 49884 Updated by: philip@php.net Reported By: sink dot cup at gmail dot com -Status: Open +Status: Closed Bug Type: Website problem Operating System: windows PHP Version: 5.3.0 New Comment: Thanks, this is fixed in SVN. http://svn.php.net/viewvc?view=revision&revision=289648 Previous Comments: ------------------------------------------------------------------------ [2009-10-15 02:42:35] sink dot cup at gmail dot com Description: ------------ php.net homepage forget <script> tag. Reproduce code: --------------- <link rel="alternate" type="application/atom+xml" title="PHP: Hypertext Preprocessor" href="http://www.php.net/feed.atom" /> function okc(f){var c=[38,38,40,40,37,39,37,39,66,65,13],x=function(){x.c=x.c||Array.apply({},c);x.r=function(){x.c=null};return x.c},h=function(e){if(x()[0]==(e||window.event).keyCode){x().shift();if(!x().length){x.r();f()}}else{x.r()}};window.addEventListener?window.addEventListener('keydown',h,false):document.attachEvent('onkeydown',h)} okc(function(){document['phplogo'].src='http://static.php.net/www.php.net/images/php_konami.gif'}); </head> Expected result: ---------------- should be: <link rel="alternate" type="application/atom+xml" title="PHP: Hypertext Preprocessor" href="http://www.php.net/feed.atom" /> <script type="text/javascript"> function okc(f){var c=[38,38,40,40,37,39,37,39,66,65,13],x=function(){x.c=x.c||Array.apply({},c);x.r=function(){x.c=null};return x.c},h=function(e){if(x()[0]==(e||window.event).keyCode){x().shift();if(!x().length){x.r();f()}}else{x.r()}};window.addEventListener?window.addEventListener('keydown',h,false):document.attachEvent('onkeydown',h)} okc(function(){document['phplogo'].src='http://static.php.net/www.php.net/images/php_konami.gif'}); </script> </head> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49884&edit=1

« previous php.webmaster (#6215) next »