Skip to content
Snippets Groups Projects

Increase the max amount of blob data to load from 1K to 10 MB

Merged Stan Hu requested to merge stanhu/gitlab_git:increase-blob-data-read-size into master

Before we were only loading 1024 bytes, which could lead to false negative detection of binary data since binary characters could come after the 1024-byte mark. Instead, we should load as much data as we are willing to display to ensure that this does not happen.

Relates to gitlab-org/gitlab-ce#13826

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading