php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15129 htmlentities() bug
Submitted: 2002-01-20 19:42 UTC Modified: 2002-04-05 07:58 UTC
Votes:2
Avg. Score:2.5 ± 1.5
Reproduced:1 of 2 (50.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: Dan_Armano at yahoo dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.1.1 OS: Win98
Private report: No CVE-ID: None
 [2002-01-20 19:42 UTC] Dan_Armano at yahoo dot com
htmlentities(), when asked to convert quotes, instead of converting " to ", it converts it to \". It adds a \ character before ". 

IMHO, this should not happen.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-05 07:58 UTC] sander@php.net
You're messing with Magic Quotes. Read the manual.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 23:01:32 2024 UTC