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)
Tue, May 7, 7:26 AM
Unknown Object (File)
Fri, May 3, 6:16 AM
Unknown Object (File)
Thu, Apr 25, 6:12 AM
Unknown Object (File)
Mar 23 2024, 3:53 PM
Unknown Object (File)
Mar 13 2024, 7:16 PM
Unknown Object (File)
Feb 23 2024, 1:14 PM
Unknown Object (File)
Feb 18 2024, 5:43 PM
Unknown Object (File)
Feb 16 2024, 3:47 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