<
From version < 3.5 >
edited by Eduard Moraru
on 2016/06/07
To version < 3.6 >
edited by Eduard Moraru
on 2016/06/07
>
Change comment: There is no comment for this version

Summary

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  

Get Connected