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)
Fri, Mar 15, 7:12 PM
Unknown Object (File)
Feb 19 2024, 5:08 AM
Unknown Object (File)
Jan 5 2024, 1:37 PM
Unknown Object (File)
Jan 3 2024, 6:27 PM
Unknown Object (File)
Dec 30 2023, 4:30 PM
Unknown Object (File)
Dec 26 2023, 7:08 PM
Unknown Object (File)
Dec 26 2023, 11:15 AM
Unknown Object (File)
Dec 23 2023, 3:27 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