Page MenuHomePhabricator

Fix ambiguous URI parsing in Youtube Remarkup rule
ClosedPublic

Authored by epriestley on Jun 23 2017, 2:37 PM.
Tags
None
Referenced Files
F18703689: D18149.diff
Sun, Sep 28, 4:48 AM
F18646578: D18149.diff
Fri, Sep 19, 10:23 AM
F18645886: D18149.diff
Fri, Sep 19, 8:41 AM
F18508930: D18149.id.diff
Sep 5 2025, 3:06 AM
F18501229: D18149.diff
Sep 4 2025, 9:37 PM
F18181389: D18149.id43671.diff
Aug 16 2025, 8:35 AM
F18178039: D18149.id43668.diff
Aug 16 2025, 12:56 AM
F18124705: D18149.id43671.diff
Aug 13 2025, 12:43 PM
Subscribers
None

Details

Summary

Fixes T12867. Also:

  • Simplify the code a little.
  • Stop mutating this on text/mobile -- there's no inherent value in the "youtu.be" link so I think this just changes the text the user wrote unnecessarily.
Test Plan

Screen Shot 2017-06-23 at 7.32.50 AM.png (552×1 px, 395 KB)

Diff Detail

Repository
rP Phabricator
Branch
youtube1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17556
Build 23558: Run Core Tests
Build 23557: arc lint + arc unit