See Q53. Fixes rP935d7120ee32.
Call sites should be happy to use PhutilURI when possible.
Differential D25139
Fix is_absolute test in markup avivey on Apr 28 2023, 10:44. Authored by
Details
See Q53. Fixes rP935d7120ee32. Call sites should be happy to use PhutilURI when possible. visit any Repository page. Before - exception, now - data.
Diff Detail
Event TimelineComment Actions Comment Actions Even if probably it would be nice to have an isAbsoluteURI() method in PhutilURI to reduce the business logic here Comment Actions I looked into it, but (1) it's in a different repo, so the fix would be harder and (2) the test here isn't really "is absolute" but rather "does this look like a web URI". PhutilURI is also used for git/svn/ssh URIs, which would be "absolute" and also make no sense here.
|