There appears to be some new code in gluon/main.py to handle component 
flash.

# @line 564 in gluon/main.py
if response.flash:
    http_response.headers['web2py-component-flash'] = urllib2.quote(
xmlescape(response.flash).replace('\n',''))


Problem with this is that urllib2.quote() is putting %20s everywhere there 
are spaces in my flash message, which causes the whole flash message to get 
messed up. Take away the urllib2.quote() function and everything is OK.

Is urllib2.quote() really necessary here? I can't imagine why, 'cause I 
don't know how to keep it from messing up my flash message.

-- 



Reply via email to