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)
Thu, Apr 11, 7:46 AM
Unknown Object (File)
Mon, Apr 1, 7:16 AM
Unknown Object (File)
Sun, Mar 31, 5:15 AM
Unknown Object (File)
Sun, Mar 31, 5:13 AM
Unknown Object (File)
Sun, Mar 31, 5:12 AM
Unknown Object (File)
Sun, Mar 31, 5:12 AM
Unknown Object (File)
Sat, Mar 30, 2:18 PM
Unknown Object (File)
Mar 15 2024, 7:12 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
Branch
owners2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19778
Build 26792: Run Core Tests
Build 26791: arc lint + arc unit