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
F14806791: D19190.id45964.diff
Sun, Jan 26, 5:10 AM
Unknown Object (File)
Sat, Jan 25, 12:33 AM
Unknown Object (File)
Sat, Jan 25, 12:33 AM
Unknown Object (File)
Sat, Jan 25, 12:33 AM
Unknown Object (File)
Tue, Jan 21, 10:04 AM
Unknown Object (File)
Sun, Dec 29, 10:49 PM
Unknown Object (File)
Sat, Dec 28, 7:57 PM
Unknown Object (File)
Dec 24 2024, 4:54 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