Page MenuHomePhabricator

404 older-style Phame URIs properly
ClosedPublic

Authored by epriestley on Dec 12 2015, 1:28 AM.
Tags
None
Referenced Files
F15529109: D14747.id35666.diff
Tue, Apr 22, 4:50 PM
F15528030: D14747.id35667.diff
Tue, Apr 22, 8:27 AM
F15515919: D14747.id.diff
Fri, Apr 18, 2:33 PM
F15512710: D14747.diff
Thu, Apr 17, 12:59 PM
F15478072: D14747.id35667.diff
Mon, Apr 7, 8:24 PM
F15390062: D14747.id.diff
Mar 15 2025, 5:52 AM
F15386168: D14747.id35666.diff
Mar 15 2025, 12:08 AM
F15374468: D14747.id35666.diff
Mar 12 2025, 7:05 PM

Details

Summary

Ref T9968. Some of the crumb/route handling wasn't quite tight enough and could hit a fatal.

Test Plan

Hit previously-fataling URI, got a 404 instead.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to 404 older-style Phame URIs properly.
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 12 2015, 1:30 AM
starruler added inline comments.
src/applications/phame/controller/PhameLiveController.php
166–173

I can't add a macro to this install so here you go

deeper.jpg (279×512 px, 23 KB)

This revision was automatically updated to reflect the committed changes.
joshuaspence added inline comments.
src/applications/phame/application/PhabricatorPhameApplication.php
43

Is this still valid?

src/applications/phame/controller/PhameLiveController.php
169

Four levels of nesting :(

src/applications/phame/application/PhabricatorPhameApplication.php
43

Yes, I added this this morning.

src/applications/phame/controller/PhameLiveController.php
169

How would you suggest rewriting it?

src/applications/phame/application/PhabricatorPhameApplication.php
43

Lol okay, makes sense...

src/applications/phame/controller/PhameLiveController.php
169

Oh I don't have any ideas, just making a remark.