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
F15589946: D14741.id35653.diff
Fri, May 9, 4:05 PM
F15564751: D14741.id35653.diff
Wed, Apr 30, 2:30 PM
F15563272: D14741.id.diff
Wed, Apr 30, 7:17 AM
F15558407: D14741.diff
Tue, Apr 29, 2:40 AM
F15515276: D14741.diff
Fri, Apr 18, 9:10 AM
F15505089: D14741.id.diff
Mon, Apr 14, 11:49 PM
F15473057: D14741.id35653.diff
Apr 5 2025, 7:21 PM
F15464198: D14741.id35654.diff
Apr 2 2025, 7:13 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.