incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quinn Fissler <qfiss...@gmail.com>
Subject Re: File formats supported by `InsertAttachment' plugin
Date Fri, 07 Jan 2011 15:15:25 GMT
Maybe I'm thinking of the default attachment handler.

I have these lines, among others:

#jspwiki.attachment.allow=.png .jpg .zip .jar
#jspwiki.attachment.forbid=.html .htm .php .asp .exe

in my jspwiki.properties


On 7 January 2011 06:48, Kannan R <kannanr@collab.net> wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 06 January 2011 08:55 PM, Quinn Fissler wrote:
> > It's default for safety (you expect all sorts of attacks on public
> > sites)
> >
> > If your wiki is secure and used by trusted clients, you can enable
> > other formats.
>
> Thank you, Quinn. But from what I see from the plugin source, the
> attachment data is processed as InputStream, hence I see no other
> format other than the plain text(and other sorts of plain text)
> getting supported. So this is the case or any other tweaks required in
> the source to support other formats?
>
> - --
> Thanks & Regards,
> Kannan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJNJrclAAoJELQAaYkQr+e7NDcIAKmQiXY0nDyzZbCupJ5SgNfr
> INqrTHywBuIz3zMzmAVxlAyW7Sipenf3CDtuCzW0jTC3AxYWEa7nSmrJCdTO2nAR
> xPA12tPFcppepiJwqbqkRSYkhaqkGVbwOyKMEzR/ZPS4T68TpKH4HlTTnkMJlgVf
> UfpPF8OCWLcUTc3ntaD3KCqE3qzMs0txapexZOCltz+lkO9eUyWK9R+IDKMlW6JR
> BmhxDygVs29slX+Vz3QkUTBbsPilXKABPP+GMlphl+D1PUouBLTxG9s8ILD7zD1p
> AgaPOaeI7Yd4AcIRYs1S8msmEMweT57YDk1Lxk7oQEhRn4gNJ33qqbLdjD1tM9w=
> =oxWc
> -----END PGP SIGNATURE-----
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message