We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2114b3e + f73de0f commit bc0a245Copy full SHA for bc0a245
.github/workflows/gradle.yml
@@ -6,10 +6,10 @@ jobs:
6
steps:
7
- uses: actions/checkout@v4
8
9
- - name: Set up JDK 17
+ - name: Set up JDK 1.8
10
uses: actions/setup-java@v4
11
with:
12
- java-version: '17'
+ java-version: '8'
13
distribution: 'adopt'
14
15
- name: Grant execute permission for gradlew
src/main/kotlin/com/atlassian/onetime/service/TOTPService.kt
@@ -91,7 +91,7 @@ class DefaultTOTPService(
91
}
92
93
fun String.urlEncode(): String =
94
- URLEncoder.encode(this, Charsets.UTF_8)
+ URLEncoder.encode(this, Charsets.UTF_8.name())
95
.replace("+", "%20")
96
.replace("*", "%2A")
97
.replace("%7E", "~")
0 commit comments