From: Michael Date: Thu, 9 Mar 2023 07:05:45 +0000 (+0000) Subject: Comment readded X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a4503601e5216debc28c8363da01a73e21fbdf12;p=friendica.git Comment readded --- diff --git a/src/Security/OAuth1/OAuthUtil.php b/src/Security/OAuth1/OAuthUtil.php index bc30c80080..2547f09080 100644 --- a/src/Security/OAuth1/OAuthUtil.php +++ b/src/Security/OAuth1/OAuthUtil.php @@ -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); }