Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Validate key length and base 64... #1

Open
todo bot opened this issue Jun 23, 2019 · 0 comments
Open

Validate key length and base 64... #1

todo bot opened this issue Jun 23, 2019 · 0 comments
Assignees

Comments

@todo
Copy link

todo bot commented Jun 23, 2019

websocket/src/Server.php

Lines 117 to 122 in 21e6131

// @todo Validate key length and base 64...
$responseKey = base64_encode(pack('H*', sha1($key.self::KEY_SALT)));
$headers = [
'HTTP/1.1 101 Switching Protocols',
'Upgrade: websocket',


This issue was generated by todo based on a @todo comment in 21e6131. It's been assigned to @overtrue because they committed the code.
@todo todo bot assigned overtrue Jun 23, 2019
@todo todo bot added the todo 🗒️ label Jun 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant