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)
Tue, Dec 24, 4:54 PM
Unknown Object (File)
Fri, Dec 6, 9:18 AM
Unknown Object (File)
Fri, Nov 29, 11:50 PM
Unknown Object (File)
Nov 26 2024, 7:47 AM
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
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
Branch
owners2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19778
Build 26792: Run Core Tests
Build 26791: arc lint + arc unit