{"object_kind":"push","event_name":"push","before":"ced30cf0dc807e914603e593802c28a3a18925bd","after":"53f97d8b0223cf5cf5e682fbb03067a2aca84818","ref":"refs/heads/master","ref_protected":true,"checkout_sha":"53f97d8b0223cf5cf5e682fbb03067a2aca84818","message":null,"user_id":3060,"user_name":"Wim Taymans","user_username":"wtaymans","user_email":"","user_avatar":"https://secure.gravatar.com/avatar/1ca1bed246cb9b95b7ead6d6be96bb09f0c112953140c8bb38b41aedf4465270?s=80&d=identicon","project_id":4753,"project":{"id":4753,"name":"pipewire","description":"Multimedia processing graphs","web_url":"https://gitlab.freedesktop.org/pipewire/pipewire","avatar_url":"https://gitlab.freedesktop.org/uploads/-/system/project/avatar/4753/pipewire.png","git_ssh_url":"git@ssh.gitlab.freedesktop.org:pipewire/pipewire.git","git_http_url":"https://gitlab.freedesktop.org/pipewire/pipewire.git","namespace":"PipeWire","visibility_level":20,"path_with_namespace":"pipewire/pipewire","default_branch":"master","ci_config_path":"","homepage":"https://gitlab.freedesktop.org/pipewire/pipewire","url":"git@ssh.gitlab.freedesktop.org:pipewire/pipewire.git","ssh_url":"git@ssh.gitlab.freedesktop.org:pipewire/pipewire.git","http_url":"https://gitlab.freedesktop.org/pipewire/pipewire.git"},"commits":[{"id":"53f97d8b0223cf5cf5e682fbb03067a2aca84818","message":"spa: json: replace invalid UTF-8 in encoded strings\n\nThe parser validates UTF-8 inside strings since 31e582301 (\"spa: json:\nmore parsing errors and add spa_json_get_error\") and treats a violation\nas a fatal error, but the encoder passes bytes >= 0x80 through\nverbatim. Encoding a value containing invalid UTF-8 (e.g. an ALSA card\nlongname derived from a corrupted USB descriptor) therefore produces\noutput that spa_json cannot parse back: one bad value makes the rest of\nthe document unreadable, and a value ending in a truncated multibyte\nsequence consumes the closing quote, corrupting everything after it.\n\nMirror the parser's UTF-8 acceptance rules in the encoder and replace\nsequences it would reject with U+FFFD, so that encoded output is always\nparseable. Valid multibyte sequences are still emitted verbatim.\n\nCloses #5427\n","title":"spa: json: replace invalid UTF-8 in encoded strings","timestamp":"2026-08-21T14:30:42+00:00","url":"https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/53f97d8b0223cf5cf5e682fbb03067a2aca84818","author":{"name":"Lennart Rosam","email":"hello@takuto.de"},"added":[],"modified":["spa/include/spa/utils/json-core.h","test/test-spa-json.c"],"removed":[]}],"total_commits_count":1,"push_options":{},"repository":{"name":"pipewire","url":"git@ssh.gitlab.freedesktop.org:pipewire/pipewire.git","description":"Multimedia processing graphs","homepage":"https://gitlab.freedesktop.org/pipewire/pipewire","git_http_url":"https://gitlab.freedesktop.org/pipewire/pipewire.git","git_ssh_url":"git@ssh.gitlab.freedesktop.org:pipewire/pipewire.git","visibility_level":20}}