Fix percent encoding of the '+' character.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 18 Jul 2009 00:06:30 +0000 (20:06 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 18 Jul 2009 00:06:30 +0000 (20:06 -0400)
framework/Oauth/lib/Horde/Oauth/Utils.php

index 389eb5a..c13f7c3 100644 (file)
@@ -21,7 +21,7 @@ class Horde_Oauth_Utils
     public static function urlencodeRfc3986($string)
     {
         return str_replace(array('%7E', '+'),
-                           array('~', '%20'),
+                           array('~', '%2B'),
                            rawurlencode($string));
     }