[web API] returns non RFC compliant URLs #832

Open
opened 2026-10-05 00:19:45 +02:00 by adam · 0 comments
Owner

On servers using for example fr_FR.UTF-8 file system encoding, Piwigo API methods return non percent-encoded URLs (containing spaces, accentuated characters, etc.). This requires third party apps to "guess" how to percent-encode each URL so that images can be downloaded.
So would it be possible to [percent-encode URLs](url
https://tools.ietf.org/html/rfc3986#section-2) so that Piwigo always returns RFC compliant URIs whichever file system encoding is used?

On servers using for example fr_FR.UTF-8 file system encoding, Piwigo API methods return non percent-encoded URLs (containing spaces, accentuated characters, etc.). This requires third party apps to "guess" how to percent-encode each URL so that images can be downloaded. So would it be possible to [percent-encode URLs](url https://tools.ietf.org/html/rfc3986#section-2) so that Piwigo always returns RFC compliant URIs whichever file system encoding is used? <!-- github-sync-id:369825154 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#832