Page MenuHomePhabricator

Allow broader HTTP access to public repositories, respect nonstandard Phabricator HTTP port when generating repository URIs
ClosedPublic

Authored by epriestley on May 25 2016, 3:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 12:26 PM
Unknown Object (File)
Thu, Apr 25, 2:31 AM
Unknown Object (File)
Fri, Apr 19, 4:44 PM
Unknown Object (File)
Tue, Apr 9, 11:03 PM
Unknown Object (File)
Sun, Mar 31, 4:49 PM
Unknown Object (File)
Sun, Mar 31, 4:49 PM
Unknown Object (File)
Sun, Mar 31, 4:49 PM
Unknown Object (File)
Sun, Mar 31, 4:48 PM
Subscribers
None

Details

Summary

Fixes T11030. Fixes T11032.

  • Allow HTTP access to "Public" repositories even if diffusion.allow-http-auth is disabled.
  • If you run Phabricator on an unusual port (???) use that port as the default when generating HTTP URIs.
Test Plan
  • Faked phabricator.base-uri to an unusual port, saw repository HTTP URI generate with an unusual port.
  • Disabled diffusion.allow-http-auth, confirmed that toggling view policy between "public" and "users" activated or deactivated HTTP clone URI.

Diff Detail

Repository
rP Phabricator
Branch
dx2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12329
Build 15593: Run Core Tests
Build 15592: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Allow broader HTTP access to public repositories, respect nonstandard Phabricator HTTP port when generating repository URIs.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.May 25 2016, 3:28 PM
This revision was automatically updated to reflect the committed changes.