comparison roundup/cgi/actions.py @ 4416:36d52125c9cf

fixed registration, issue2550665 (thanks Timo Paulssen)
author Richard Jones <richard@users.sourceforge.net>
date Fri, 10 Sep 2010 06:31:30 +0000
parents 74476eaac38a
children 52e13bf0bb40
comparison
equal deleted inserted replaced
4415:3e35233ea93c 4416:36d52125c9cf
796 self.client.session_api.set(user=user) 796 self.client.session_api.set(user=user)
797 797
798 # nice message 798 # nice message
799 message = self._('You are now registered, welcome!') 799 message = self._('You are now registered, welcome!')
800 url = '%suser%s?@ok_message=%s'%(self.base, self.userid, 800 url = '%suser%s?@ok_message=%s'%(self.base, self.userid,
801 urllib._quote(message)) 801 urllib_.quote(message))
802 802
803 # redirect to the user's page (but not 302, as some email clients seem 803 # redirect to the user's page (but not 302, as some email clients seem
804 # to want to reload the page, or something) 804 # to want to reload the page, or something)
805 return '''<html><head><title>%s</title></head> 805 return '''<html><head><title>%s</title></head>
806 <body><p><a href="%s">%s</a></p> 806 <body><p><a href="%s">%s</a></p>

Roundup Issue Tracker: http://roundup-tracker.org/