#35680 [Opn->Bgs]: backslash curl not handled correctly

From: Date: Thu, 15 Dec 2005 13:21:45 +0000
Subject: #35680 [Opn->Bgs]: backslash curl not handled correctly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90463@lists.php.net to get a copy of this message
ID: 35680 Updated by: tony2001@php.net Reported By: cristiklein at net dot utcluj dot ro -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: FreeBSD 5.4 PHP Version: 5.1.1 New Comment: See bug #31341. Previous Comments: ------------------------------------------------------------------------ [2005-12-15 14:18:47] cristiklein at net dot utcluj dot ro Description: ------------ I recently noticed that "\{$var}" retains the backslash. Older versions of php don't do so, because backslash is meant to escape the curly. Reproduce code: --------------- <?php $length = 100; $sent_folder = "INBOX.Sent"; echo "APPEND \"$sent_folder\" (\\Seen) \{$length}\r\n"; ?> Expected result: ---------------- APPEND "INBOX.Sent" (\Seen) {100} Actual result: -------------- APPEND "INBOX.Sent" (\Seen) \{100} ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35680&edit=1

« previous php.bugs (#90463) next »