Encoding error in some URLs #10
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jadedctrl/cl-ipfs-api2#10
Ŝarĝante…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've spotted at least 2 bugs:
url-encode
asks forutf-8
encoding, but it seems wrong to change it from the default. In particular puni-encoded URLs won't like this. You can test the problem withbafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/I/m/Van_Gogh_-_Bildnis_der_Mutter_des_K%C3%BCnstlers.jpeg
. Fix:Subtle one, but the URL in
ipfs-call
on SBCL is converted from an(array character)
to a(array base-char)
, which breaks puri on URL with non-ascii characters. Puri's fault, but you can implement a local fixA dedicated function or even the use of
alexandria:copy-array
would be a better fix, but I'm keeping this as short as possible for this thread.Would you care to commit this patch on a branch of your clone? I could apply it locally, but you wouldn't get the credit.