v0.0.582
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m33s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m33s
This commit is contained in:
parent
506d276962
commit
23a3235c7e
@ -1,5 +1,5 @@
|
|||||||
package goext
|
package goext
|
||||||
|
|
||||||
const GoextVersion = "0.0.581"
|
const GoextVersion = "0.0.582"
|
||||||
|
|
||||||
const GoextVersionTimestamp = "2025-06-25T10:28:54+0200"
|
const GoextVersionTimestamp = "2025-06-25T10:51:38+0200"
|
||||||
|
@ -18,7 +18,7 @@ func DecodeBase64Any(data string) ([]byte, error) {
|
|||||||
data = strings.ReplaceAll(data, "_", "/") // base64_url --> base64_std
|
data = strings.ReplaceAll(data, "_", "/") // base64_url --> base64_std
|
||||||
data = strings.ReplaceAll(data, "-", "+") // base64_url --> base64_std
|
data = strings.ReplaceAll(data, "-", "+") // base64_url --> base64_std
|
||||||
|
|
||||||
data = strings.ReplaceAll(data, "=", " ") // no padding
|
data = strings.ReplaceAll(data, "=", "") // no padding
|
||||||
|
|
||||||
return base64.RawStdEncoding.DecodeString(data)
|
return base64.RawStdEncoding.DecodeString(data)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user