Ensure ipfs-call URL is a 'character string and not a base-string.
Otherwise it breaks PURI.
This commit is contained in:
parent
cc65064550
commit
a52676d5c3
|
@ -3,6 +3,6 @@
|
|||
:license "LGPLv3"
|
||||
:author "Jaidyn Ann <jadedctrl@teknik.io>"
|
||||
:description "Bindings for the IPFS HTTP API."
|
||||
:depends-on (:drakma :yason :arnesi :uiop)
|
||||
:depends-on (:alexandria :drakma :yason :arnesi :uiop)
|
||||
:components ((:file "package")
|
||||
(:file "main")))
|
||||
|
|
|
@ -32,7 +32,9 @@
|
|||
(let ((result
|
||||
(multiple-value-list
|
||||
(drakma:http-request
|
||||
(make-call-url call arguments)
|
||||
;; We ensure the string is of 'character elements and not 'base-char
|
||||
;; which would break Puri.
|
||||
(alexandria:copy-array (make-call-url call arguments) :element-type 'character)
|
||||
:method method
|
||||
:url-encoder #'ipfs::url-encode
|
||||
:parameters parameters
|
||||
|
|
Ŝarĝante…
Reference in New Issue