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

Validate key length and base 64... #1

@todo

Description

@todo

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions