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
F18855332: D18149.id.diff
Sat, Nov 1, 4:54 AM
F18851814: D18149.id.diff
Fri, Oct 31, 4:26 AM
F18848466: D18149.diff
Thu, Oct 30, 4:53 AM
F18809526: D18149.id.diff
Oct 19 2025, 2:48 PM
F18805118: D18149.id43671.diff
Oct 18 2025, 1:53 PM
F18791250: D18149.id43668.diff
Oct 16 2025, 8:07 AM
F18765718: D18149.id43671.diff
Oct 7 2025, 12:39 PM
F18703689: D18149.diff
Sep 28 2025, 4:48 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable