[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master afc1eec 1/2: Fix an HTTP encoding error in soap-cli
From: |
Thomas Fitzsimmons |
Subject: |
[Emacs-diffs] master afc1eec 1/2: Fix an HTTP encoding error in soap-client.el |
Date: |
Tue, 13 Jun 2017 21:40:35 -0400 (EDT) |
branch: master
commit afc1eec8b837aaad2ed4d169cbdfd6a7d6ae197d
Author: Alex Harsanyi <address@hidden>
Commit: Thomas Fitzsimmons <address@hidden>
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 4ec8a50..48c775f 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