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)
Oct 18 2024, 8:06 AM
Unknown Object (File)
Oct 16 2024, 2:48 PM
Unknown Object (File)
Oct 9 2024, 9:08 AM
Unknown Object (File)
Sep 15 2024, 3:45 AM
Unknown Object (File)
Sep 6 2024, 2:44 AM
Unknown Object (File)
Aug 25 2024, 7:17 AM
Unknown Object (File)
Aug 24 2024, 7:50 PM
Unknown Object (File)
Aug 17 2024, 7:44 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