]> source.dussan.org Git - gitblit.git/commit
bugtraq: Fallback to UTF-8 if commit encoding is unsupported
authorFlorian Zschocke <f.zschocke+git@gmail.com>
Fri, 11 Nov 2022 11:12:13 +0000 (12:12 +0100)
committerFlorian Zschocke <f.zschocke+git@gmail.com>
Fri, 11 Nov 2022 11:12:13 +0000 (12:12 +0100)
commitd00bdf2feed0f0a2eefe437ab9dc1561f0049002
treeb7efe127817f4471364b4f7a9880731f7dc5c5c9
parentd9933399a64be0ae30b8ea63d568b9092b850386
bugtraq: Fallback to UTF-8 if commit encoding is unsupported

Reading the encoding of a commit can result in a Unsupported- or
IllegalCharsetException. This happens when for whatever reason the
commit has an encoding recorded that the system doesn't understand.
Instead of completely failing, fallback to UTF-8.
src/main/bugtraq/com/syntevo/bugtraq/BugtraqConfig.java