Skip to content

Commit

Permalink
Use lax decoding, fixes #6241
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Mar 26, 2024
1 parent 202f300 commit 24e3f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sidekiq/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def serialized_global_id?(hash)
end

def uncompress_backtrace(backtrace)
strict_base64_decoded = backtrace.unpack1("m0")
strict_base64_decoded = backtrace.unpack1("m")
uncompressed = Zlib::Inflate.inflate(strict_base64_decoded)
Sidekiq.load_json(uncompressed)
end
Expand Down

0 comments on commit 24e3f68

Please sign in to comment.