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
Unknown Object (File)
Sat, May 31, 5:50 AM
Unknown Object (File)
Fri, May 30, 8:22 PM
Unknown Object (File)
May 19 2025, 10:04 AM
Unknown Object (File)
May 2 2025, 7:59 PM
Unknown Object (File)
Apr 30 2025, 5:06 AM
Unknown Object (File)
Apr 29 2025, 8:50 PM
Unknown Object (File)
Apr 25 2025, 12:00 AM
Unknown Object (File)
Apr 23 2025, 11:43 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