Attachment 'patch-userprefs-oidserv-method.diff'
Download 1 # HG changeset patch
2 # User Paul Boddie <paul@boddie.org.uk>
3 # Date 1299376655 -3600
4 # Node ID e97d4e0d1ca7cf4252f38aded5827077d345c2da
5 # Parent 3ba458f6a6bd0c808b91a4603ff25cf021ea9d46
6 Fixed HTTP request method acquisition.
7
8 diff -r 3ba458f6a6bd -r e97d4e0d1ca7 MoinMoin/userprefs/oidserv.py
9 --- a/MoinMoin/userprefs/oidserv.py Sun Mar 06 02:56:26 2011 +0100
10 +++ b/MoinMoin/userprefs/oidserv.py Sun Mar 06 02:57:35 2011 +0100
11 @@ -54,7 +54,7 @@
12 if form.has_key('cancel'):
13 return
14
15 - if self.request.request_method != 'POST':
16 + if self.request.method != 'POST':
17 return
18
19 if form.has_key('remove'):
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.You are not allowed to attach a file to this page.