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
F14062423: D15973.diff
Mon, Nov 18, 12:11 PM
F14049534: D15973.diff
Thu, Nov 14, 1:31 PM
F14046740: D15973.id38454.diff
Wed, Nov 13, 11:24 PM
F14043925: D15973.id38454.diff
Tue, Nov 12, 1:59 PM
F14040972: D15973.id38455.diff
Mon, Nov 11, 2:42 PM
F14039840: D15973.id38454.diff
Mon, Nov 11, 6:28 AM
F14036634: D15973.diff
Sun, Nov 10, 11:17 AM
F14031776: D15973.id38455.diff
Sat, Nov 9, 11:53 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.