Skip to content

Commit

Permalink
[NDAP-2005] username url encoding 하도록 변경
Browse files Browse the repository at this point in the history
[NDAP-2005] username url encoding 하도록 변경
  • Loading branch information
cyon13 authored Jan 17, 2024
2 parents 50f17c7 + b2d97ca commit ad846cf
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 ad846cf

Please sign in to comment.