You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2026/09/16 22:47:21 UTC

(whimsy) branch master updated: Encoding is not a valid parse option

This is an automated email from the ASF dual-hosted git repository.

sebbASF pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 1b4deb03 Encoding is not a valid parse option
1b4deb03 is described below

commit 1b4deb03bfec556730d6207295407aefc546f10d
Author: Sebb <se...@apache.org>
AuthorDate: Wed Sep 16 23:47:05 2026 +0100

    Encoding is not a valid parse option
---
 lib/whimsy/asf/ldap.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 2774c769..b91c080d 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -865,7 +865,7 @@ module ASF
     def pgp_key_status
       _uri, content, status = Person.cache.get("https://people.apache.org/keys/committer/keys.json")
       return 'error reading status' if status == 'error'
-      keys = JSON.parse(content, :encoding => 'utf-8')
+      keys = JSON.parse(content)
       (keys[id] || {}).map {|k,v|[k.gsub(' ', ''), v]}.to_h
     end