Re: Bug #15571: incredible slashing of " and \
| From: | Alexander Motin | Date: | Fri, 15 Feb 2002 16:54:14 +0000 |
| Subject: | Re: Bug #15571: incredible slashing of " and \ | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80078@lists.php.net to get a copy of this message | ||
I'm sorry. This is really not a bug. It is feature.
This feature's name is "magic_quotes_gpc". But i think that
enabling it by default is not a good idea.
Andrey Hristov wrote:
What about 4.0.6? Best wishes Andre Hristov ----- Original Message ----- From: "Alexander Motin" <mav@alkar.net> To: "Andrey Hristov" <ahristov@icygen.com> Sent: Friday, February 15, 2002 6:29 PM Subject: Re: Bug #15571: incredible slashing of " and \-- Alexander Motin mav@alkar.net ISP Alkar-TeleportNO!!! This bug begins only on 4.1.1. 4.1.0 works fine. Andrey Hristov wrote:So maybe it was a bug for 4.1.0 and fixed in 4.1.1. Best regards, Andrey Hristov ----- Original Message ----- From: "Alexander Motin" <mav@alkar.net> To: "Andrey Hristov" <ahristov@icygen.com> Cc: <php-dev@lists.php.net> Sent: Friday, February 15, 2002 6:20 PM Subject: Re: Bug #15571: incredible slashing of " and \-- Alexander Motin mav@alkar.net ISP Alkar-TeleportScript is simple as much as he can be! Here is it: ------------------------------- <? print('<FORM METHOD=GET><br>'); print('<TEXTAREA NAME="text" ROWS=15 COLS=70>'.$text.'</TEXTAREA><br>'); print('<INPUT TYPE="submit" name="submit" VALUE="пЮГНЯКЮРЭ">'); print('</FORM>'); ?> ------------------------------- On PHP 4.1.0 - it works fine. But on 4.1.1 i take slashing on every pressing of submit button. As i say - you can see this bug result on page http://bugs.php.net/search.php if you enter \" in any field and press "Search". Andrey Hristov wrote:I think this is not php problem but problem in the script. No stripslashes is made on the output. This is common problem. Best regards, Andre Hristov ----- Original Message ----- From: <mav@alkar.net> To: <php-bugs@lists.php.net> Sent: Friday, February 15, 2002 6:08 PM Subject: Bug #15571: incredible slashing of " and \-- Alexander Motin mav@alkar.net ISP Alkar-TeleportFrom: mav@alkar.netOperating system: FreeBSD 4.xPHP version: 4.1.1 PHP Bug Type: Scripting Engine problemBug description: incredible slashing of " and \ When script must take variable that consist " and \ it takes \" and \\. You can see this bug on http://bugs.php.net/search.php if you enter \" in any field and press "Search". I have PHP 4.1.1 configured with such options: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-mysql=/usr/local/mysql --with-gd=/usr/local --enable-trans-sid --enable-versioning --enable-inline-optimization --enable-ftp --enable-dbase --enable-gd-native-ttf --with-ttf -- Edit bug report at http://bugs.php.net/?id=15571&edit=1 --Fixed in CVS: http://bugs.php.net/fix.php?id=15571&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15571&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15571&r=needtraceTry newer version: http://bugs.php.net/fix.php?id=15571&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15571&r=support Expected behavior: http://bugs.php.net/fix.php?id=15571&r=notwrongNot enough info: http://bugs.php.net/fix.php?id=15571&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15571&r=submittedtwice