|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-08-10 01:18 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 10:00:01 2025 UTC |
Description: ------------ The 2 functions: url_encode() url_decode() Do not encode and decode pluses ("+") correctly. Reproduce code: --------------- <?php $pre = "++++"; $one = url_encode($pre); $two = url_decode($one); //Compare if ($pre==$two) echo "it worked!"; else echo "It did not work."; ?> Expected result: ---------------- it worked! Actual result: -------------- It did not work.