Path of filename incorrect - breaks MIME detection for syntax highlighting
|Reported by:||Haw Loeung||Owned by:||Herbert Valerio Riedel|
It seems that a forward slash ('/') is being appended to the end of the filename. This breaks syntax highlighting for most files because the MIME detection code uses the file extension to determine the MIME type before checking chunks of code.
I have a work around for this by adding code to strip the trailing forward slash ('/') in the GitRepository->get_node() code.