php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21741 strip_tags() reproducible error...
Submitted: 2003-01-19 01:27 UTC Modified: 2003-01-19 05:09 UTC
From: xing at mac dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.0 OS: Linux 2.4
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xing at mac dot com
New email:
PHP Version: OS:

 

 [2003-01-19 01:27 UTC] xing at mac dot com
Function: strip_tags()
Test input: http://66.28.101.38/shift.htm

Unexpected result: The result string is cut off after a few sentences and ends with extraneous !!!!!!!! marks. Not all input would generate this error but most of the time with Microsoft Word created dirty documents as the test input above will demonstrate.

Probably cause: Totally speculation but my guess is that there is a funk in the code in the string function dealing with UTF-8 characters common in Microsoft generated stuff. 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-19 05:09 UTC] moriyoshi@php.net
See bug #21744 which reports the same problem but is more concise than this.
To unify the report, let me mark this bogus.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 21 11:00:02 2025 UTC