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
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: bbak at wob-interactive dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 10:01:30 2025 UTC