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

Reply via email to