[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/xml-rpc 8f624f8b96 44/64: Merge pull request #8 from larsm
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/xml-rpc 8f624f8b96 44/64: Merge pull request #8 from larsmagne/master |
Date: |
Fri, 31 Dec 2021 20:11:08 -0500 (EST) |
branch: elpa/xml-rpc
commit 8f624f8b964e9145acb504e4457c9510e87dd93c
Merge: 0ab093d601 8ee416cb76
Author: Mark A. Hershberger <mah@everybody.org>
Commit: GitHub <noreply@github.com>
Merge pull request #8 from larsmagne/master
Return a unibyte string so that url.el doesn't think it's the wrong length
---
xml-rpc.el | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/xml-rpc.el b/xml-rpc.el
index 282a5d2f34..6d3334db46 100644
--- a/xml-rpc.el
+++ b/xml-rpc.el
@@ -570,15 +570,16 @@ or nil if called with ASYNC-CALLBACK-FUNCTION."
(let ((url-request-method "POST")
(url-package-name "xml-rpc.el")
(url-package-version xml-rpc-version)
- (url-request-data (concat "<?xml version=\"1.0\""
- " encoding=\"UTF-8\"?>\n"
- (with-temp-buffer
- (xml-print xml)
- (when xml-rpc-allow-unicode-string
- (encode-coding-region
- (point-min) (point-max) 'utf-8))
- (buffer-string))
- "\n"))
+ (url-request-data
+ (concat "<?xml version=\"1.0\""
+ " encoding=\"UTF-8\"?>\n"
+ (with-temp-buffer
+ (xml-print xml)
+ (if xml-rpc-allow-unicode-string
+ (string-as-unibyte
+ (encode-coding-string (buffer-string) 'utf-8))
+ (buffer-string)))
+ "\n"))
(url-mime-charset-string "utf-8;q=1, iso-8859-1;q=0.5")
(url-request-coding-system xml-rpc-use-coding-system)
(url-http-attempt-keepalives t)
- [nongnu] elpa/xml-rpc 28dfbff291 18/64: Add submit-bug function and mode toggling functionality., (continued)
- [nongnu] elpa/xml-rpc 28dfbff291 18/64: Add submit-bug function and mode toggling functionality., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 481ed72dff 22/64: update bug reporting function., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc c20aa6359a 29/64: bump version for continued development, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 25c380cab0 28/64: Update release notes, tag 1.6.8, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 3b4ac0ebf2 24/64: update urls, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 4b21d27d35 25/64: Eliminate xemacs compile warning, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 643bbfb5da 30/64: * Apply link from http://rix3.8.je/2009/12/15/emacs%E7%9A%84weblogger1-4-4%E7%9A%84wordpress-patch/, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 79e74a969d 21/64: Some minor housekeeping, bump xml-rpc.el version., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc f862301b46 27/64: connection close! connection close!, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 445fc70355 33/64: point to upstream in comments, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 8f624f8b96 44/64: Merge pull request #8 from larsmagne/master,
Stefan Kangas <=
- [nongnu] elpa/xml-rpc 4fd5a03a36 36/64: xml-rpc.el: fix up callbacks for post emacs20!, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc e4002b8502 40/64: Really fix struct detection., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 0ab093d601 42/64: Bump version number, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 47007ef094 54/64: Merge pull request #14 from skangas/libxml-parse-xml-region, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc ff1e22959f 50/64: Merge pull request #16 from skangas/byte-compiler-warnings, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc bd359a86b1 47/64: Use libxml-parse-xml-region when available, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 31890fef63 60/64: Remove versions that don't have skip-unless, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc a2cb50528c 57/64: Tidy up a bit; remove code that shouldn't be needed in modern emacs, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc eb50e8b116 62/64: formatting, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc a876849b45 59/64: Merge pull request #18 from skangas/fix-unit-test, Stefan Kangas, 2021/12/31