Homec4science

Add default ports to `PhutilURI`

Authored by Joshua Spence <josh@joshuaspence.com> on Jan 12 2015, 20:48.

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

Committed
Joshua Spence <josh@joshuaspence.com>Jan 12 2015, 20:53
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU8a879e7e549a: Ensure empty lines do not appear with large widths on last column of…
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPHUd7e7df98d2ea: Add default ports to `PhutilURI` (authored by Joshua Spence <josh@joshuaspence.com>).Jan 12 2015, 20:53