์ฃผ์
- ๋ชจ๋์ด ํฌํจ๋์ด ์์ต๋๋ค.
ngx_stream_set_module , ๋ณ์์ ๊ฐ์ ํ ๋นํ ์ ์์ต๋๋ค.์๋ฒ {
12345๋ฅผ ๋ค์ด;
$true 1์ ์ค์ ํฉ๋๋ค.
} - ์ง์๋ฌธ์ด ์ถ๊ฐ๋์์ต๋๋ค.
ํ๋ก์_์ฟ ํค_ํ๋๊ทธ ํ๋ก์ ์ฐ๊ฒฐ์์ ์ฟ ํค์ ๋ํ ํ๋๊ทธ๋ฅผ ์ง์ ํฉ๋๋ค. ์๋ฅผ ๋ค์ด, ์ฟ ํค "one"์ "httponly" ํ๋๊ทธ๋ฅผ ์ถ๊ฐํ๊ณ ๋ค๋ฅธ ๋ชจ๋ ์ฟ ํค์ "nosecure" ๋ฐ "samesite=strict" ํ๋๊ทธ๋ฅผ ์ถ๊ฐํ๋ ค๋ฉด ๋ค์ ๊ตฌ์ฑ์ ์ฌ์ฉํ ์ ์์ต๋๋ค.Proxy_cookie_flags ํ๋๋ httponly์ ๋๋ค.
Proxy_cookie_flags ~ nosecure samesite=strict; - ์ ์ฌํ ์ง์์ด
userid_flags ์ฟ ํค์ ํ๋๊ทธ๋ฅผ ์ถ๊ฐํ๊ธฐ ์ํ ๊ธฐ๋ฅ์ ngx_http_userid ๋ชจ๋์๋ ๊ตฌํ๋์ด ์์ต๋๋ค.
๋์์
- ์ซ์์ ์๊ฐ์ ๊ตฌ๋ถ์ ๋ํ ์ง์์ด ์ถ๊ฐ๋์์ต๋๋ค(์: '1_000').
- %TypedArray%.prototype์ ๋ํ ๋๋ฝ๋ ๋ฉ์๋ ๊ตฌํ: Every(), filter(), find(), findIndex(), forEach(), include(), indexOf(), lastIndexOf(), map(), Reduce(), ReduceRight(), reverse(), some().
- %TypedArray%: from(), of()์ ๋ํด ๋๋ฝ๋ ๋ฉ์๋๋ฅผ ๊ตฌํํ์ต๋๋ค.
- DataView ๊ฐ์ฒด๋ฅผ ๊ตฌํํ์ต๋๋ค.
: >> (new DataView(buf.buffer)).getUint16()
: 32974 - ๋ฒํผ ๊ฐ์ฒด๋ฅผ ๊ตฌํํ์ต๋๋ค.
: >> var buf = Buffer.from([0x80,206,177,206,178])
: ํ์ ๋์ง ์์
: >> buf.slice(1).toString()
: 'ฮฑฮฒ'
: >> buf.toString('base64')
: 'gM6xzrI=' - "crypto" ๋ฐ "fs" ๋ฉ์๋์ Buffer ๊ฐ์ฒด ์ง์์ ์ถ๊ฐํ๊ณ fs.readFile(), Hash.prototype.digest() ๋ฐ Hmac.prototype.digest()๊ฐ Buffer ๊ฐ์ฒด์ ์ธ์คํด์ค๋ฅผ ๋ฐํํ๋๋ก ๋ณด์ฅํ์ต๋๋ค.
- ArrayBuffer ์ง์์ด TextDecoder.prototype.decode() ๋ฉ์๋์ ์ถ๊ฐ๋์์ต๋๋ค.
์ถ์ฒ : opennet.ru