Skip to content

Commit

Permalink
username url encoding 하도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
cyon13 committed Jan 15, 2024
1 parent 83e10d5 commit 6d5b653
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package org.apache.kyuubi.service

import java.io.{Closeable, IOException}
import java.net.URLEncoder

import org.slf4j.Logger

Expand Down Expand Up @@ -50,7 +51,7 @@ object ServiceUtils {
if (indexOfDomainMatch <= 0) {
userName
} else {
userName.substring(0, indexOfDomainMatch)
URLEncoder.encode(userName, "UTF-8")
}
}

Expand Down

0 comments on commit 6d5b653

Please sign in to comment.