mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
Complain if a Conduit Client doesn't send a host key.
Summary: There is a TODO here that is a few years old... the Conduit Protocol is now at version 7. Test Plan: One less TODO in the codebase. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9694
This commit is contained in:
parent
56d3379947
commit
21a2597421
1 changed files with 0 additions and 10 deletions
|
@ -137,16 +137,6 @@ abstract class ConduitAPIMethod
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function validateHost($host) {
|
protected function validateHost($host) {
|
||||||
if (!$host) {
|
|
||||||
// If the client doesn't send a host key, don't complain. We should in
|
|
||||||
// the future, but this change isn't severe enough to bump the protocol
|
|
||||||
// version.
|
|
||||||
|
|
||||||
// TODO: Remove this once the protocol version gets bumped past 2 (i.e.,
|
|
||||||
// require the host key be present and valid).
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// NOTE: Compare domains only so we aren't sensitive to port specification
|
// NOTE: Compare domains only so we aren't sensitive to port specification
|
||||||
// or omission.
|
// or omission.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue