"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Mailman/Cgi/options.py" between
mailman-2.1.35.tgz and mailman-2.1.36.tgz

About: Mailman 2 - The GNU Mailing List Management System.

options.py  (mailman-2.1.35.tgz):options.py  (mailman-2.1.36.tgz)
skipping to change at line 347 skipping to change at line 347
if cgidata.has_key('VARHELP'): if cgidata.has_key('VARHELP'):
varhelp = cgidata['VARHELP'].value varhelp = cgidata['VARHELP'].value
elif os.environ.get('QUERY_STRING'): elif os.environ.get('QUERY_STRING'):
# POST methods, even if their actions have a query string, don't get # POST methods, even if their actions have a query string, don't get
# put into FieldStorage's keys :-( # put into FieldStorage's keys :-(
qs = cgi.parse_qs(os.environ['QUERY_STRING']).get('VARHELP') qs = cgi.parse_qs(os.environ['QUERY_STRING']).get('VARHELP')
if qs and type(qs) == types.ListType: if qs and type(qs) == types.ListType:
varhelp = qs[0] varhelp = qs[0]
if varhelp: if varhelp:
# Sanitize the topic name. # Sanitize the topic name.
while '%' in varhelp:
varhelp = urllib.unquote_plus(varhelp)
varhelp = re.sub('<.*', '', varhelp) varhelp = re.sub('<.*', '', varhelp)
topic_details(mlist, doc, user, cpuser, userlang, varhelp) topic_details(mlist, doc, user, cpuser, userlang, varhelp)
return return
if cgidata.has_key('logout'): if cgidata.has_key('logout'):
print mlist.ZapCookie(mm_cfg.AuthUser, user) print mlist.ZapCookie(mm_cfg.AuthUser, user)
loginpage(mlist, doc, user, language) loginpage(mlist, doc, user, language)
print doc.Format() print doc.Format()
return return
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)