emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c2f04019bf: soap-client: fix validation against byte[]


From: Mattias Engdegård
Subject: master c2f04019bf: soap-client: fix validation against byte[]
Date: Wed, 21 Dec 2022 06:12:00 -0500 (EST)

branch: master
commit c2f04019bff4085a09a993995ab8a9d71484dcb0
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    soap-client: fix validation against byte[]
    
    * lisp/net/soap-client.el (soap-validate-xs-basic-type):
    `byte[]` is read as the two Lisp values `byte` and `[]` but here the
    symbol `byte[]` is intended: the brackets need escaping.
---
 lisp/net/soap-client.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/soap-client.el b/lisp/net/soap-client.el
index 5e7bdbe6c6..6e9200e465 100644
--- a/lisp/net/soap-client.el
+++ b/lisp/net/soap-client.el
@@ -1317,7 +1317,7 @@ See also `soap-wsdl-resolve-references'."
   "Validate VALUE against the basic type TYPE."
   (let* ((kind (soap-xs-basic-type-kind type)))
     (cl-case kind
-      ((anyType Array byte[])
+      ((anyType Array byte\[\])
        value)
       (t
        (let ((convert (get kind 'rng-xsd-convert)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]