view @ 5098:ff588e9e24d6

simplify getAttachUrl: remove upload parameter upload=x didn't influence drawing url generation at all, for file url generation one can just give do='upload_form' if one wants the upload url. URL args for do='upload_form' were streamlined to use target=x instead of rename=x so it is more similar to the other code. Removed test for "tainted" file names in URLs. We must not "taint" file names for URLs. Filenames in URLs need to be url-quoted. If a URL is used in html, it needs to be escaped.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 13 Sep 2009 00:06:04 +0200
parents e7f1cf9eeb96
children f105598176f5
line wrap: on
line source

# MoinMoin - Distutils distribution files
# Copyright (c) 2001, 2002 by Jürgen Hermann <>
# All rights reserved, see COPYING for details.

# additional files not known by
include README setup.cfg moin.spec
include wikiserverlogging.conf

# documentation and licenses
recursive-include docs *

# include stuff for translators
recursive-include   MoinMoin/i18n *

# include static htdocs
recursive-include   MoinMoin/web/static/htdocs *

# include non-py stuff from werkzeug
recursive-include   MoinMoin/support/werkzeug/debug *

# contrib stuff
recursive-include   contrib *

# tests stuff
recursive-include   tests *
global-include */_tests/*

# "wiki" directory
recursive-include   wiki *

# omit revision control, python bytecode
global-exclude *.pyc
global-exclude *.pyo
global-exclude */CVS/*
global-exclude */.cvsignore

# we distribute a uncompressed version, no need for that:
global-exclude underlay.tar
global-exclude README.underlay