#49884 [NEW]: forget <script> tag
| From: | sink dot cup at gmail dot com | Date: | Thu, 15 Oct 2009 02:42:35 +0000 |
| Subject: | #49884 [NEW]: forget <script> tag | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-6212@lists.php.net to get a copy of this message | ||
From: sink dot cup at gmail dot com
Operating system: windows
PHP version: 5.3.0
PHP Bug Type: Website problem
Bug description: forget <script> tag
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 bug report at http://bugs.php.net/?id=49884&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49884&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49884&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49884&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49884&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49884&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49884&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49884&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49884&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49884&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49884&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49884&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49884&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49884&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49884&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49884&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49884&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49884&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49884&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49884&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49884&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49884&r=mysqlcfg