Changes for page How to open PDF attachments from the wiki directly in the browser?
Last modified by Ecaterina Moraru (Valica) on 2017/09/04
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- FAQCode.FAQClass[0]
-
- answer
-
... ... @@ -9,9 +9,9 @@ 9 9 10 10 * open ##WEB-INF/xwiki.properties## and go to the ##Attachment## section 11 11 * uncomment the line with the default whitelist and add to it ##application/pdf##:((( 12 -{{ box}}12 +{{code}} 13 13 attachment.download.whitelist=audio/basic,audio/L24,audio/mp4,audio/mpeg,audio/ogg,audio/vorbis,audio/vnd.rn-realaudio,audio/vnd.wave,audio/webm,image/gif,image/jpeg,image/pjpeg,image/png,image/svg+xml,image/tiff,text/csv,text/plain,text/xml,text/rtf,video/mpeg,video/ogg,video/quicktime,video/webm,video/x-matroska,video/x-ms-wmv,video/x-flv,application/pdf 14 -{{/ box}}14 +{{/code}} 15 15 ))) 16 16 * save the modifications and restart the server 17 17