uploading a python filetype to wiki

Karsten 'quaid' Wade kwade at redhat.com
Mon Jan 16 18:48:00 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/16/2012 04:00 AM, Moran Goldboim wrote:
> I'm trying to upload a python file to the wiki - an example on how
> to use python sdk, unfortunately i can't do it: Permitted file
> types: png, gif, jpg, jpeg, odp, odt, ods, pdf, jnlp, vsd.
> 
> is there a way we can make it happen, if not where would be the 
> appropriate place to put it in.

So the concern about uploading scripts to MediaWiki is about how I
figured it. If there is a flaw in MediaWiki (or possibly the web
server), uploaded scripts can be an attack vector.

Since we're likely to want more and more examples for people, I think
opening a new git repo for cross-project examples (with
sub-directories per sub-project?), or just putting examples directly
in other repos is probably the way to go. We should be able to provide
direct links from the wiki to download scripts via HTTP.

You can always paste the contents of a script in to a <pre/> block,
which helps with annotating in the wiki etc.

- - Karsten
- -- 
name:  Karsten 'quaid' Wade, Sr. Community Architect
team:    Red Hat Community Architecture & Leadership
uri:              http://communityleadershipteam.org
                         http://TheOpenSourceWay.org
gpg:                                        AD0E0C41
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFPFHDg2ZIOBq0ODEERAs4rAJ4pL8MQo0PCGE6NHRY6rpKJJDnxYgCgs0YU
tJKgu+4UPr8pHLAT2wdfghw=
=fQ6w
-----END PGP SIGNATURE-----



More information about the Infra mailing list