[viewvc-users] Markup view cannot display/render BMP files

Asd Asdasd <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <BAY147-w25B95C32B537C55F241AB8D2600__25364.5499040887$1307399650$gmane$org@phx.gbl>
Hi,

BMP files cannot be displayed/rendered as a picture when "view=markup", the actual binary code is displayed instead. BMPs can be seen when "view=co" is set in the URL. 


JPEG and PNG files are rendered properly with either one of "view=markup" and "view=co" is set in the URL. The viewvc.conf settings are:

allowed_views = annotate, co, diff, markup, roots
default_file_view = markup
show_log_in_markup = 1

The ViewVC version is 1.1.10.

The respective files also have their svn:mimetype properties set correctly. This was tested by viewing the SVN repository directly with a web browser.

Also the above behavior occurs irrespective of the the svn_ignore_mimetype setting.

On another note, setting "default_file_view = co" does not take effect, i.e. the view that appears in the browser is always that of "markup".

Thanks, Most.

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2759142

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.