Beispiel #1
0
        public void Issue8_WhenSignatureContainsEqualSign_ParseAuthorizationHeaderKeyValuePairDropsCharactersAfterEqualSign()
        {
            string signatureInHeader = "auth_signature=\"uZF3aYQFtyK0F1FFHY+w7/Be+m4=\"";

            var paramter = UriUtility.ParseAuthorizationHeaderKeyValuePair(signatureInHeader);

            Assert.Equal("auth_signature", paramter.Key);
            Assert.Equal("uZF3aYQFtyK0F1FFHY w7/Be m4=", paramter.Value);
        }