Page MenuHomePhabricator

Fix broken suggestion/validation for Owners paths in repositories with short names
ClosedPublic

Authored by epriestley on Mar 8 2018, 1:33 AM.
Tags
None
Referenced Files
F19939673: D19190.diff
Tue, Apr 14, 5:24 PM
F19938536: D19190.diff
Tue, Apr 14, 4:54 AM
F19914428: D19190.diff
Fri, Apr 3, 11:11 AM
F19908505: D19190.id.diff
Wed, Apr 1, 7:51 PM
F19901123: D19190.id.diff
Mon, Mar 30, 7:51 AM
F19890253: D19190.diff
Wed, Mar 25, 8:44 PM
F19818893: D19190.id.diff
Mar 6 2026, 1:08 AM
F19816514: D19190.id.diff
Mar 5 2026, 6:16 AM
Subscribers
None

Details

Summary

Depends on D19189. Ref T12590. The "validate" and "complete" endpoints for this UI could incorrectly return redirect responses. These aren't critical to the behavior of Owners, but they're nice to have, and shouldn't redirect.

Instead, skip the canonicalizing redirect for AJAX requests.

Test Plan

Edited Owners paths in a repository with a short name, got completion/validation again.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable