ID: 12668
Updated by: andrei
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: PCRE related
Operating System: FreeBSD 4.0
PHP Version: 4.0.6
New Comment:
I could change it so that only and \ are slashed. From what I remember about some of
the complaints before addslashes behavior was
ID: 12668
Updated by: andrei
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Analyzed
Bug Type: PCRE related
Operating System: FreeBSD 4.0
PHP Version: 4.0.6
New Comment:
This is because preg_replace() runs addslashes() internally on the captured
subpatterns before substrituting them
ID: 12668
Updated by: alindeman
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: PCRE related
Operating System: FreeBSD 4.0
PHP Version: 4.0.6
New Comment:
how about creating either two different functions, or another
attribute to preg_replace, that you can set true/false to run
that
ID: 12668
Updated by: alindeman
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: PCRE related
Operating System: FreeBSD 4.0
PHP Version: 4.0.6
New Comment:
of course I meant addslashes()
Previous Comments:
ID: 12668
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Analyzed
Bug Type: PCRE related
Operating System: FreeBSD 4.0
PHP Version: 4.0.6
New Comment:
Ah - I see - so what I'm seeing is actually a symptom of the basic issue that
addslashes() is not a perfect