Use default Drakma encoding in url-encode.

This fixes the load of URLs like

    bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/I/m/Van_Gogh_-_Bildnis_der_Mutter_des_K%C3%BCnstlers.jpeg
This commit is contained in:
Pierre Neidhardt 2022-09-22 12:43:11 +02:00
parent 3ee52c8002
commit cc65064550

View File

@ -1102,5 +1102,5 @@ will be passed directly to the files-write function."
(cl-ppcre:regex-replace-all (cl-ppcre:regex-replace-all
"%2520" (drakma:url-encode "%2520" (drakma:url-encode
(cl-ppcre:regex-replace-all " " string "%20") (cl-ppcre:regex-replace-all " " string "%20")
:utf-8) drakma:*drakma-default-external-format*)
"%20")) "%20"))