From afc1eec8b837aaad2ed4d169cbdfd6a7d6ae197d Mon Sep 17 00:00:00 2001 From: Alex Harsanyi Date: Tue, 13 Jun 2017 20:49:59 -0400 Subject: [PATCH] Fix an HTTP encoding error in soap-client.el * lisp/net/soap-client.el (soap-invoke-internal): Make SOAPAction header a UTF-8 encoded string. --- lisp/net/soap-client.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/net/soap-client.el b/lisp/net/soap-client.el index 4ec8a504fba..48c775f008e 100644 --- a/lisp/net/soap-client.el +++ b/lisp/net/soap-client.el @@ -3049,8 +3049,11 @@ OPERATION-NAME and PARAMETERS are as described in `soap-invoke'." (url-request-extra-headers (list (cons "SOAPAction" - (concat "\"" (soap-bound-operation-soap-action - operation) "\"")) + (concat "\"" (encode-coding-string + (soap-bound-operation-soap-action + operation) + 'utf-8) + "\"")) (cons "Content-Type" "text/xml; charset=utf-8")))) (if callback -- 2.39.2