in spplus, flatten parsed response query string before using it

This commit is contained in:
Benjamin Dauvergne 2012-02-20 16:48:44 +01:00
parent f4afd4df4b
commit fdf06922bc
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,8 @@ next_url=%s' % (montant, email, next_url))
def response(self, query_string):
form = urlparse.parse_qs(query_string)
for key, value in form.iteritems():
form[key] = value[0]
LOGGER.debug('received query_string %s' % query_string)
LOGGER.debug('parsed as %s' % form)
reference = form.get(REFERENCE)