projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b6900
)
webish.POSTHandler: fix typo that meant we didn't look for 'name' in req.fields
author
Brian Warner
<warner@lothar.com>
Sat, 11 Aug 2007 00:25:28 +0000
(17:25 -0700)
committer
Brian Warner
<warner@lothar.com>
Sat, 11 Aug 2007 00:25:28 +0000
(17:25 -0700)
src/allmydata/webish.py
patch
|
blob
|
history
diff --git
a/src/allmydata/webish.py
b/src/allmydata/webish.py
index 731d593723e51a7196a86be22d56dd6dc309630c..8da27ffc09cb028e38b4f63f85c519d2c5e44c68 100644
(file)
--- a/
src/allmydata/webish.py
+++ b/
src/allmydata/webish.py
@@
-481,7
+481,7
@@
class POSTHandler(rend.Page):
name = None
if "name" in req.args:
name = req.args["name"][0]
- elif
name
in req.fields:
+ elif
"name"
in req.fields:
name = req.fields["name"].value
if name and "/" in name:
req.setResponseCode(http.BAD_REQUEST)