Skip to content

Commit 14d57ae

Browse files
authored
fix(189pc): fix redirect_url format (#420)
1 parent d5f4b68 commit 14d57ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/189pc/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ func (y *Cloud189PC) login() (err error) {
322322
_, err = y.client.R().
323323
SetResult(&tokenInfo).SetError(&erron).
324324
SetQueryParams(clientSuffix()).
325-
SetQueryParam("redirectURL", url.QueryEscape(loginresp.ToUrl)).
325+
SetQueryParam("redirectURL", loginresp.ToUrl).
326326
Post(API_URL + "/getSessionForPC.action")
327327
if err != nil {
328328
return

0 commit comments

Comments
 (0)