Page MenuHomePhabricator

Fix Exception Rejecting ambiguous URI
AbandonedPublic

Authored by Paladox on Jun 4 2017, 12:05 PM.
Tags
None
Referenced Files
F37754347: D673.diff
Sat, Sep 23, 9:31 PM
Unknown Object (File)
Aug 17 2023, 3:11 AM
Unknown Object (File)
Aug 5 2023, 5:47 PM
Unknown Object (File)
Aug 5 2023, 1:59 PM
Unknown Object (File)
Feb 2 2023, 5:47 AM
Unknown Object (File)
Jan 15 2023, 1:12 PM
Unknown Object (File)
Jan 9 2023, 10:22 AM
Unknown Object (File)
Jan 3 2023, 1:06 PM
Subscribers
None

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 1878
Build 3052: arc lint + arc unit