Page MenuHomePhabricator

Fix Exception Rejecting ambiguous URI
AbandonedPublic

Authored by Paladox on Jun 4 2017, 12:05 PM.

Details

Reviewers
mmodell
Patch without arc
git checkout -b D673 && curl -L https://phabricator.wikimedia.org/D673?download=true | git apply
Summary

if preg matches (^[^/:]*://[^/]*[#?].*:) then return '' to prevent it from making it a link but also to prevent a task from being prevented from loading.

Tested on https://phab-01.wmflabs.org/T145#2949

Bug: T166958
Change-Id: Ia74e357a09d9a5ccea829a4321c48bbb6033bebd

Diff Detail

Repository
rPHUTIL libphutil
Branch
wmf/stable
Lint
Lint SkippedExcuse: Same as before
Unit
Unit Tests Skipped
Build Status
Buildable 1878
Build 3052: arc lint + arc unit