Skip to content

Commit 22cf435

Browse files
authored
Fix decoding order
1 parent c7e60bf commit 22cf435

File tree

1 file changed

+1
-1
lines changed
  • p2pml/src/main/java/com/novage/p2pml/utils

1 file changed

+1
-1
lines changed

p2pml/src/main/java/com/novage/p2pml/utils/Utils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ internal object Utils {
2929

3030
fun encodeUrlToBase64(url: String): String = url.encodeBase64().encodeURLParameter()
3131

32-
fun decodeBase64Url(encodedString: String): String = encodedString.decodeBase64String().decodeURLQueryComponent()
32+
fun decodeBase64Url(encodedString: String): String = encodedString.decodeURLQueryComponent().decodeBase64String()
3333

3434
fun getUrl(
3535
port: Int,

0 commit comments

Comments
 (0)