You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can pass any tk token with client=gtx and still get the result. And the token is computed incorrectly anyway. You should have passed the submatch here (matches[1]):
Also, otto (unlike goja) incorrectly works with emojis (issue 388), so it will compute an incorrect token every time the text to be translated contains any emoji.
The text was updated successfully, but these errors were encountered:
This code does nothing useful:
gtranslate/apiv2.go
Line 47 in 1bd07f6
You can pass any
tk
token withclient=gtx
and still get the result. And the token is computed incorrectly anyway. You should have passed the submatch here (matches[1]
):gtranslate/token.go
Lines 119 to 121 in 1bd07f6
Also, otto (unlike goja) incorrectly works with emojis (issue 388), so it will compute an incorrect token every time the text to be translated contains any emoji.
The text was updated successfully, but these errors were encountered: