HomePhorge

Fix exception in Maniphest task ID filtering

Description

Fix exception in Maniphest task ID filtering

Summary:
Ref T2632. When the user enters task IDs, we filter them to allow the user to write T123 or task 123 to mean 123. This filtering is latin-centric and silly, and cuases an exception when accessing, e.g,, /maniphest/view/custom/?tasks=~.

Instead of stripping a select few nondigits, strip all nondigits.

Test Plan: Hit /maniphest/view/custom/?tasks=~, no exception.

Reviewers: AnhNhan, chad, vrana

Reviewed By: chad

CC: aran

Maniphest Tasks: T2632

Differential Revision: https://secure.phabricator.com/D5193

Details

Provenance
epriestleyAuthored on Mar 3 2013, 10:56 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP0dde63705936: Pholio CSS touchups for inline comments.
Branches
Unknown
Tags
Unknown

Event Timeline