diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2013-01-09 12:38:08 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2013-01-18 21:24:19 +0100 |
commit | 9e9d90832511ec57f01e0e4619d8ad844c944467 (patch) | |
tree | 9a281bef69331fad0b997b24a5eaea2b8923c70f /mediagoblin/user_pages/forms.py | |
parent | d92fbdc4ea23ed5bc4f439358d83bee01b76b964 (diff) | |
download | mediagoblin-9e9d90832511ec57f01e0e4619d8ad844c944467.tar.lz mediagoblin-9e9d90832511ec57f01e0e4619d8ad844c944467.tar.xz mediagoblin-9e9d90832511ec57f01e0e4619d8ad844c944467.zip |
Sanitize slug input on media edit
Previously we allowed EVERYTHING, even slashes as slug when editing the media.
Make sure we slugify the input to sanitize it.
(+ string formdata is unicode, so there is no need to convert it)
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'mediagoblin/user_pages/forms.py')
0 files changed, 0 insertions, 0 deletions