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
F18932058: D19190.id45964.diff
Nov 10 2025, 4:36 AM
F18895059: D19190.diff
Nov 7 2025, 2:27 PM
F18876949: D19190.id.diff
Nov 6 2025, 5:03 AM
F18875938: D19190.diff
Nov 5 2025, 8:35 PM
F18854694: D19190.id.diff
Nov 1 2025, 12:26 AM
F18790844: D19190.id45961.diff
Oct 15 2025, 7:39 PM
F18740647: D19190.id.diff
Oct 2 2025, 4:21 AM
F18739589: D19190.diff
Oct 1 2025, 10:03 PM
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