From 6227e2bd07246de7a751b8de8cece6020802c264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20Yaz=C4=B1c=C4=B1o=C4=9Flu?= Date: Sun, 16 Dec 2018 15:45:40 +0300 Subject: vauth/oauth2: Fix OAUTHBEARER token generation OAUTHBEARER tokens were incorrectly generated in a format similar to XOAUTH2 tokens. These changes make OAUTHBEARER tokens conform to the RFC7628. Fixes: #2487 Reported-by: Paolo Mossino Closes https://github.com/curl/curl/pull/3377 --- tests/data/test947 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/data/test947') diff --git a/tests/data/test947 b/tests/data/test947 index d33a55931..03c3fbe37 100644 --- a/tests/data/test947 +++ b/tests/data/test947 @@ -47,7 +47,7 @@ perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' EHLO 947 -AUTH OAUTHBEARER dXNlcj11c2VyAWhvc3Q9MTI3LjAuMC4xAXBvcnQ9OTAwNQFhdXRoPUJlYXJlciBtRl85LkI1Zi00LjFKcU0BAQ== +AUTH OAUTHBEARER bixhPXVzZXIsAWhvc3Q9MTI3LjAuMC4xAXBvcnQ9OTAwNQFhdXRoPUJlYXJlciBtRl85LkI1Zi00LjFKcU0BAQ== MAIL FROM: RCPT TO: DATA -- cgit v1.2.3