summaryrefslogtreecommitdiff
path: root/cherrypy/lib/encoding.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2006-08-11 16:55:20 +0000
committerRobert Brewer <fumanchu@aminus.org>2006-08-11 16:55:20 +0000
commit3fcc339cb6cd8a633f6be06220a3db5188069e24 (patch)
tree89e6b4489be2c1d3782beb709ea55d49b60b7d2e /cherrypy/lib/encoding.py
parent262c7a4d11e650807e1f9274aaf667bea0d47f1a (diff)
downloadcherrypy-git-3fcc339cb6cd8a633f6be06220a3db5188069e24.tar.gz
X-Forwarded-For should overwrite remote.ip, not remote.name.
Diffstat (limited to 'cherrypy/lib/encoding.py')
-rw-r--r--cherrypy/lib/encoding.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/lib/encoding.py b/cherrypy/lib/encoding.py
index 5496936d..8aa44156 100644
--- a/cherrypy/lib/encoding.py
+++ b/cherrypy/lib/encoding.py
@@ -5,7 +5,7 @@ import cherrypy
def decode(encoding=None, default_encoding='utf-8'):
- """Decode cherrypy.request.params ."""
+ """Decode cherrypy.request.params."""
if not encoding:
ct = cherrypy.request.headers.elements("Content-Type")
if ct: