changeset 179:136b2d5b3e3d

CLOSED - # 108: add project should strip whitespace from id https://it-dev.mpiwg-berlin.mpg.de/tracs/webpage/ticket/108
author casties
date Wed, 12 Jun 2013 10:37:10 +0200
parents ee0fbb711f17
children a6739bb6a575
files MPIWGProjects.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MPIWGProjects.py	Tue Jun 11 17:51:55 2013 +0200
+++ b/MPIWGProjects.py	Wed Jun 12 10:37:10 2013 +0200
@@ -1845,6 +1845,7 @@
 
 def manage_addMPIWGProject(self, id, fileupload=None, RESPONSE=None):
     """method to add a project"""
+    id = id.strip()
     if fileupload:
         filedata = fileupload.read()
         argv = xmlhelper.proj2hash(filedata)