mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[debugger] fix JWT visualizer after upgrade to Kotlin 2.0.20, see KT-56135
GitOrigin-RevId: d10d107c7dc70e042f8e4cc03223faef9b0cc54a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
06e6613593
commit
263b3eb70e
@@ -67,7 +67,7 @@ internal class JwtTextVisualizer : TextValueVisualizer {
|
||||
@OptIn(ExperimentalEncodingApi::class)
|
||||
private fun tryDecodeBase64(s: String): String? {
|
||||
val decoded = try {
|
||||
Base64.decode(s)
|
||||
Base64.withPadding(Base64.PaddingOption.ABSENT_OPTIONAL).decode(s)
|
||||
} catch (_: IllegalArgumentException) {
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user