]> git.mxchange.org Git - friendica.git/commitdiff
Comment readded
authorMichael <heluecht@pirati.ca>
Thu, 9 Mar 2023 07:05:45 +0000 (07:05 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 9 Mar 2023 07:05:45 +0000 (07:05 +0000)
src/Security/OAuth1/OAuthUtil.php

index bc30c800802491d46e90eb567bf833fab80214f9..2547f09080b37b0e9c0d7418689dabfbe43064e1 100644 (file)
@@ -154,6 +154,8 @@ class OAuthUtil
 
        public static function build_http_query($params)
        {
+               // Parameters are sorted by name, using lexicographical byte value ordering.
+               // Ref: Spec: 9.1.1 (1)
                uksort($params, 'strcmp');
                return http_build_query($params, '', null, PHP_QUERY_RFC3986);
        }