Page MenuHomePhabricator

Mark external -> external redirects in Phame to canonicalize URIs as "external"
ClosedPublic

Authored by epriestley on Dec 11 2015, 4:30 PM.
Tags
None
Referenced Files
F14066894: D14741.diff
Tue, Nov 19, 12:17 PM
F14066333: D14741.diff
Tue, Nov 19, 9:27 AM
F14051633: D14741.diff
Fri, Nov 15, 2:38 AM
F14039787: D14741.diff
Mon, Nov 11, 6:20 AM
F14025103: D14741.diff
Thu, Nov 7, 2:28 PM
F14001075: D14741.diff
Fri, Oct 25, 3:56 AM
F13977547: D14741.id35653.diff
Oct 18 2024, 7:06 PM
Unknown Object (File)
Oct 9 2024, 2:50 AM
Subscribers
None

Details

Summary

Ref T9897. If you visit /post/123/spoderman/ it will try to redirect you to /post/123/spiderman/, but currently only internal views work because these redirects aren't marked as safe/external.

Test Plan

Visited a misspelled/out-of-date URI on an external blog view, got a good redirect.

Diff Detail

Repository
rP Phabricator
Branch
phame2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 9473
Build 11289: Run Core Tests
Build 11288: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Mark external -> external redirects in Phame to canonicalize URIs as "external".
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.Dec 11 2015, 4:34 PM
This revision was automatically updated to reflect the committed changes.