An error occurred fetching the project authors.
  1. 12 Jun, 2016 1 commit
    • Stan Hu's avatar
      Fix Error 500 when viewing a blob with binary characters after the 1024-byte mark · 0fdfd2dd
      Stan Hu authored
      Here was the problem:
      
      1. When determining whether a given blob is viewable text, gitlab_git reads the first 1024 bytes and checks with Linguist whether it is a text or binary file.
      2. If the blob is text, GitLab will attempt to display it.
      3. However, if the text has binary characters after the first 1024 bytes, then GitLab will attempt to load the entire contents, but the encoding will be ASCII-8BIT since there are binary characters.
      4. The Error 500 results when GitLab attempts to display a mix UTF-8 and ASCII-8BIT.
      
      To fix this, we load as much data as we are willing to display so that the detection will work properly. Requires
      an update to gitlab_git: gitlab-org/gitlab_git!86
      
      Closes #13826
      0fdfd2dd
  2. 26 Apr, 2016 4 commits
  3. 07 Apr, 2016 1 commit
  4. 19 Mar, 2016 1 commit
  5. 03 Mar, 2016 1 commit
  6. 14 Jan, 2016 2 commits
  7. 08 Jan, 2016 1 commit
  8. 02 Dec, 2015 1 commit
  9. 17 Nov, 2015 1 commit
  10. 06 Nov, 2015 1 commit
  11. 20 Oct, 2015 1 commit
  12. 01 Oct, 2015 2 commits
  13. 30 Sep, 2015 1 commit
  14. 08 Sep, 2015 1 commit
  15. 26 Aug, 2015 1 commit
  16. 06 Jul, 2015 1 commit
  17. 05 May, 2015 1 commit
  18. 13 Apr, 2015 1 commit
  19. 25 Mar, 2015 1 commit
  20. 19 Mar, 2015 1 commit
  21. 25 Dec, 2014 1 commit
  22. 10 Sep, 2014 1 commit
  23. 09 Sep, 2014 1 commit
  24. 08 Sep, 2014 3 commits
  25. 27 Aug, 2014 1 commit
  26. 15 Jul, 2014 2 commits
  27. 25 Jun, 2014 1 commit
  28. 14 Jun, 2014 2 commits
  29. 13 Jun, 2014 1 commit
  30. 26 Feb, 2014 1 commit
  31. 24 Feb, 2014 1 commit