Homec4science

Make AphrontRequest::getHost() work properly in the presence of a port

Authored by epriestley <git@epriestley.com> on Oct 1 2012, 06:19.

Description

Make AphrontRequest::getHost() work properly in the presence of a port

Summary: This currently gives us back "domain.com:port" if there's a port, which messes up the new Phame logic. Make getHost() do what one would reasonably expect it to.

Test Plan: Loaded my local, which is on 8080.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D3571

Details

Committed
epriestley <git@epriestley.com>Oct 1 2012, 06:19
Pushed
aubortJan 31 2017, 17:16
Parents
rPH054ea7dc4aad: Simplify upvote/downvote implementation
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHa0070d8bf4b9: Make AphrontRequest::getHost() work properly in the presence of a port (authored by epriestley <git@epriestley.com>).Oct 1 2012, 06:19