Attachment 'formspoof.patch'

Download

   1 diff -ur moin-1.5.4.orig/MoinMoin/userform.py moin-1.5.4/MoinMoin/userform.py
   2 --- moin-1.5.4.orig/MoinMoin/userform.py	2006-05-11 12:24:00.000000000 -0400
   3 +++ moin-1.5.4/MoinMoin/userform.py	2006-09-06 13:10:50.000000000 -0400
   4 @@ -67,6 +67,11 @@
   5          if form.has_key('cancel'):
   6              return
   7  
   8 +	# Partially prevent form spoofing
   9 +	for remove_item in self.cfg.user_form_remove:
  10 +	    if form.has_key(remove_item):
  11 +		del form[remove_item]
  12 +
  13          if form.has_key('account_sendmail'):
  14              if not self.cfg.mail_enabled:
  15                  return _("""This wiki is not enabled for mail processing.

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2006-09-06 17:24:00, 0.6 KB) [[attachment:formspoof.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.