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
Unknown Object (File)
Fri, Jun 20, 6:15 AM
Unknown Object (File)
Mon, Jun 16, 8:59 PM
Unknown Object (File)
Mon, Jun 16, 8:59 PM
Unknown Object (File)
Mon, Jun 16, 8:53 PM
Unknown Object (File)
Mon, Jun 16, 7:59 PM
Unknown Object (File)
Thu, Jun 5, 2:01 PM
Unknown Object (File)
Sat, May 31, 10:59 AM
Unknown Object (File)
May 21 2025, 5:41 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