Page MenuHomePhabricator

Don't detect long sentences which happen to have a colon in them as Git URIs
ClosedPublic

Authored by epriestley on Jun 13 2016, 4:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 4:37 AM
Unknown Object (File)
Thu, Apr 25, 12:39 AM
Unknown Object (File)
Fri, Apr 19, 4:54 PM
Unknown Object (File)
Thu, Apr 11, 11:43 AM
Unknown Object (File)
Thu, Apr 11, 8:31 AM
Unknown Object (File)
Apr 4 2024, 11:20 AM
Unknown Object (File)
Apr 4 2024, 5:10 AM
Unknown Object (File)
Apr 1 2024, 2:16 PM
Subscribers

Details

Summary

Some very liberal code is currently trying to parse commit summaries aggressively as Git URIs, and leading to this:

Failed to parse URI "Summary: Ref T11137. This addresses three general issues:" as a Git URI.

Currently visible here:

https://secure.phabricator.com/rPHU8bb124c37de3dfa29fcd23d4be53a5696b705c81

Don't detect these as Git URIs.

Test Plan

Unit tests.

Diff Detail

Repository
rPHU libphutil
Branch
uri3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12619
Build 16022: Run Core Tests
Build 16021: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Don't detect long sentences which happen to have a colon in them as Git URIs.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
epriestley added a subscriber: 20after4.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 13 2016, 5:10 PM
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.