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
F13086638: D16103.diff
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)
Thu, Apr 4, 11:20 AM
Unknown Object (File)
Thu, Apr 4, 5:10 AM
Unknown Object (File)
Mon, Apr 1, 2:16 PM
Unknown Object (File)
Thu, Mar 28, 6:31 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.