php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49884 forget <script> tag
Submitted: 2009-10-15 02:42 UTC Modified: 2009-10-15 03:46 UTC
From: sink dot cup at gmail dot com Assigned:
Status: Closed Package: Website problem
PHP Version: 5.3.0 OS: windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sink dot cup at gmail dot com
New email:
PHP Version: OS:

 

 [2009-10-15 02:42 UTC] 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>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-15 03:46 UTC] philip@php.net
Thanks, this is fixed in SVN.

http://svn.php.net/viewvc?view=revision&revision=289648
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 21:00:02 2026 UTC