From a4503601e5216debc28c8363da01a73e21fbdf12 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 9 Mar 2023 07:05:45 +0000 Subject: [PATCH] Comment readded --- src/Security/OAuth1/OAuthUtil.php | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.39.5