• A
    Hash password · 20180248
    Asher 提交于
    Fixes issues with unexpected characters breaking things when setting the
    cookie (like semicolons).
    
    This change as-is does not affect the security of code-server
    itself (we've just replaced the static password with a static hash) but
    if we were to add a salt in the future it would let us invalidate keys
    by rehashing with a new salt which could be handy.
    20180248
util.ts 4.7 KB