You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Xiaoming Yang <xi...@ctsu.ox.ac.uk> on 2015/06/10 17:15:39 UTC
jspwiki.attachment.forbid not working
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
Re: jspwiki.attachment.forbid not working
Posted by Juan Pablo Santos RodrÃguez <ju...@gmail.com>.
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 <xi...@ctsu.ox.ac.uk>
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
>
>