]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix an HTTP encoding error in soap-client.el
authorAlex Harsanyi <AlexHarsanyi@gmail.com>
Wed, 14 Jun 2017 00:49:59 +0000 (20:49 -0400)
committerThomas Fitzsimmons <fitzsim@fitzsim.org>
Wed, 14 Jun 2017 01:21:24 +0000 (21:21 -0400)
* lisp/net/soap-client.el (soap-invoke-internal): Make
SOAPAction header a UTF-8 encoded string.

lisp/net/soap-client.el

index 4ec8a504fbab3b0945af86862006ec6240a19bc4..48c775f008e54956539a86e5e851aae8e506e85e 100644 (file)
@@ -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