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
F18809526: D18149.id.diff
Sun, Oct 19, 2:48 PM
F18805118: D18149.id43671.diff
Sat, Oct 18, 1:53 PM
F18791250: D18149.id43668.diff
Thu, Oct 16, 8:07 AM
F18765718: D18149.id43671.diff
Tue, Oct 7, 12:39 PM
F18703689: D18149.diff
Sun, Sep 28, 4:48 AM
F18646578: D18149.diff
Sep 19 2025, 10:23 AM
F18645886: D18149.diff
Sep 19 2025, 8:41 AM
F18508930: D18149.id.diff
Sep 5 2025, 3:06 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