php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7946 Recognition of <script> tags broken ?
Submitted: 2000-11-23 08:33 UTC Modified: 2000-12-30 19:47 UTC
From: bbak at wob-interactive dot de Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.3pl1 OS: Suse Linux 6.4
Private report: No CVE-ID: None
 [2000-11-23 08:33 UTC] bbak at wob-interactive dot de
After uprading to PHP4.0.3pl1 we had some strange problems with our client-side Javascripts. Something (we assume PHP)began quoting Javascript Objects:
the original js-source: var d=document;
became: var d="document;"

With older versions of PHP we had no problems (using the same source files of course).

Changing from inline Javascript to external Javascript with 
<script Language="Javascript" src="somefile.js" type="text/Javascript"> solved the problem.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-26 05:58 UTC] stas@php.net
Do you use trans-sid feature? Does the problem happen
without this feature?
 [2000-12-30 19:47 UTC] sniper@php.net
Try PHP 4.0.4 as this should be fixed in it.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 21:01:29 2024 UTC