1. 27 2月, 2018 4 次提交
  2. 26 2月, 2018 7 次提交
  3. 25 2月, 2018 1 次提交
  4. 24 2月, 2018 6 次提交
  5. 23 2月, 2018 20 次提交
  6. 22 2月, 2018 2 次提交
    • S
      Fix 500 error when loading an invalid upload URL · 028562a0
      Sean McGivern 提交于
      028562a0
    • S
      Fix 500 error when diff context line has broken encoding · cdf3ae04
      Sean McGivern 提交于
      Rugged sometimes chops a context line in between bytes, resulting in the context
      line having an invalid encoding: https://github.com/libgit2/rugged/issues/716
      
      When that happens, we will try to detect the encoding for the diff, and
      sometimes we'll get it wrong. If that difference in encoding results in a
      difference in string lengths between the diff and the underlying blobs, we'd
      fail to highlight any inline diffs, and return a 500 status to the user.
      
      As we're using the underlying blobs, the encoding is 'correct' anyway, so if the
      string range is invalid, we can just discard the inline diff highlighting. We
      still report to Sentry to ensure that we can investigate further in future.
      cdf3ae04