When viewing utf-8 text file in repository, it is downloaded
I want to view the utf-8 text file in repository, but it is downloaded.
In RepositoriesController#entry(), String#is_binary_data? is used to determine the file is binary or not.
But String#is_binary_data? return true even if the file is utf-8 text.
I wrote a patch to fix this problem.
#4 Updated by Toshi MARUYAMA over 11 years ago
- Status changed from 7 to Closed
- Assignee deleted (