Hi, the values shown at https://jspwiki-wiki.apache.org/Wiki.jsp?page=Configuration#section-Configuration-PermittedAttachmentTypes are incorrect I'll fix them in a minute, they should be jspwiki.attachment.allowed and jspwiki.attachment.forbidden (which are they keys coded at org.apache.wiki.attachment.AttachmentManager).
The commented properties on the default jspwiki.properties are incorrect too and should be corrected. Xiaomin, would you mind filing a JIRA issue with this at https://issues.apache.org/jira/browse/JSPWIKI so we don't forget to change it? thx + br, juan pablo On Wed, Jun 10, 2015 at 5:15 PM, Xiaoming Yang <[email protected]> wrote: > Hi, > > I have following settings in my jspwiki-custom.properties, but I can still > attach a *.htm or *.html file. What's wrong? > > jspwiki.attachment.forbid=.html .htm .php .asp .exe > > Regards, > Xiaoming > >
