Fixes T12338. Resolves an issue where long pastes would be truncated before getting a line count, resulting in an inaccurate line count being returned.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T12338: Paste line counts incorrect if content is more than 1024 characters
- Commits
- rP5fad7eb1f902: Get line count before truncating Paste snippets
Made a large paste, verified that it displayed the correct number of lines.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable