Page MenuHomePhabricator

Move Paste line range reading code into AphrontRequest
ClosedPublic

Authored by epriestley on Mar 1 2018, 2:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 31 2025, 8:57 PM
Unknown Object (File)
May 31 2025, 12:12 PM
Unknown Object (File)
May 2 2025, 4:29 AM
Unknown Object (File)
Apr 25 2025, 9:48 PM
Unknown Object (File)
Apr 23 2025, 2:32 PM
Unknown Object (File)
Apr 16 2025, 12:08 PM
Unknown Object (File)
Apr 15 2025, 10:05 AM
Unknown Object (File)
Apr 6 2025, 2:23 PM
Subscribers
None

Details

Summary

Ref T13088. This lifts the code for parsing "$x-y" line ranges in URIs into AphrontRequest so Diffusion, Paste, Harbormaster, etc., can share it.

Test Plan

Viewed lines, line ranges, no lines, negative line ranges, line ranges with 0, and extremely long line ranges in Paste.

Diff Detail

Repository
rP Phabricator
Branch
harbor1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19711
Build 26696: Run Core Tests
Build 26695: arc lint + arc unit