mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 19:01:27 +00:00
Fix encode_bypass
This commit is contained in:
parent
25ed0c9c51
commit
6d1dd50546
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ func home_path() string {
|
|||
func encode_bypass(request_id string, bypass string) string {
|
||||
q := request_id + ";" + bypass
|
||||
sum := sha256.Sum256(utils.UnsafeStringToBytes(q))
|
||||
return fmt.Sprintf("%x", sum)
|
||||
return fmt.Sprintf("sha256:%x", sum)
|
||||
}
|
||||
|
||||
func abspath(path string, use_home ...bool) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue