From ef1d6987fde2d1793f606345b6b1f5633d523583 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Fri, 9 Jun 2000 13:58:10 +0000 Subject: [PATCH] @- Fixed stripcslashes() to remove to strip \ in unknown escapes instead of @ leaving it. (Andrei) --- ext/standard/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index 9b49744065..03bbc2900f 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1596,8 +1596,8 @@ PHPAPI void php_stripcslashes(char *str, int *len) nlen-=i; source--; } else { - *target++='\\'; *target++=*source; + nlen--; } } } else { -- 2.50.1