#22870 [NEW]: URL encode option to encode spaces as %20 instead of +

From: Date: Tue, 25 Mar 2003 10:15:23 +0000
Subject: #22870 [NEW]: URL encode option to encode spaces as %20 instead of +
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36376@lists.php.net to get a copy of this message
From: belial at redbrick dot dcu dot ie Operating system: Linux 2.2 Kernel PHP version: 4.3.0 PHP Bug Type: URL related Bug description: URL encode option to encode spaces as %20 instead of + The urlencode function from the manual does "Returns a string in which all non-alphanumeric characters except -_. have been replaced with a percent (%) sign followed by two hex digits and spaces encoded as plus (+) signs." When working on a local file system converting spaces in filenames to %20 for passing to separate programs is favourable to the conversion to a plus sign. Either a change of functionality to convert spaces to %20 instead of +, or an option to specify the behaviour would be nice. -- Edit bug report at http://bugs.php.net/?id=22870&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22870&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22870&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22870&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22870&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22870&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22870&r=support Expected behavior: http://bugs.php.net/fix.php?id=22870&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22870&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22870&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22870&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22870&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22870&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22870&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22870&r=gnused

« previous php.bugs (#36376) next »