Skip to content

Update base64 encoding to return UTF-8 string#2243

Open
francescoingv wants to merge 1 commit intogeopython:masterfrom
francescoingv:temp_12_2_2026
Open

Update base64 encoding to return UTF-8 string#2243
francescoingv wants to merge 1 commit intogeopython:masterfrom
francescoingv:temp_12_2_2026

Conversation

@francescoingv
Copy link
Contributor

@francescoingv francescoingv commented Feb 13, 2026

Overview

Fixed a simple error in json_serial() not returning a string: Decode base64 encoded JSON object to UTF-8 string.

Related Issue / discussion

No previous issue: just a code fix.
Difficult to provide a test.

Dependency policy (RFC2)

  • I have ensured that this PR meets RFC2 requirements

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

  • [ X] I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution
  • [ X] I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

Fixed a simple error in json_serial() not returning a string:
Decode base64 encoded JSON object to UTF-8 string.
@tomkralidis
Copy link
Member

@francescoingv we need an issue and a test to demonstrate the issue in order to consider this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants