Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-8799

PDF files not always handled as binary files

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • 1
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      We've encountered situations where PDF files are not always handled as binary files in the source view of a repository. Instead of seeing "Download to view this file", we see the source of the file, including unreadable binary streams embedded in the file. It appears as though BSERV is only checking a subset of the lines in the file for binary data, so larger files with binary streams towards the end may be incorrectly identified as text/source.

      PDF should always be considered a binary file.

            Unassigned Unassigned
            ddd7a4078c16 Adam Raitanen
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: