Dolda2000 GitWeb
/
wrw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mangle parameter names in formparams.
[wrw.git]
/
wrw
/
filesys.py
diff --git
a/wrw/filesys.py
b/wrw/filesys.py
index
264cf14
..
56d58aa
100644
(file)
--- a/
wrw/filesys.py
+++ b/
wrw/filesys.py
@@
-29,7
+29,7
@@
class filehandler(object):
elif ext == "html":
ctype = "text/html"
req.ohead["Content-Type"] = ctype
- return open(path, "r")
+ return open(path, "r
b
")
def resolvefile(self, req, curpath, el):
if os.path.isfile(pj(curpath, el)):