Fixes T12338. Resolves an issue where long pastes would be truncated before getting a line count, resulting in an inaccurate line count being returned.
- Group Reviewers
- Maniphest Tasks
- T12338: Paste line counts incorrect if content is more than 1024 characters
- rP5fad7eb1f902: Get line count before truncating Paste snippets
Made a large paste, verified that it displayed the correct number of lines.