HomePhabricator

Add default ports to `PhutilURI`

Description

Add default ports to PhutilURI

Summary: Add default ports to PhutilURI to allow the getPort() method to return the default port is no port number is explicitly provided.

Test Plan: Added test cases.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin, epriestley

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jan 12 2015, 7:53 PM
Reviewer
Blessed Reviewers
Differential Revision
D11338: Add default ports to `PhutilURI`
Parents
rPHU8a879e7e549a: Ensure empty lines do not appear with large widths on last column of…
Branches
Unknown
Tags
Unknown