Author: jacob
Date: 2007-01-03 16:40:06 -0600 (Wed, 03 Jan 2007)
New Revision: 4282

Modified:
  django/trunk/docs/middleware.txt
Log:
Fixed #3225: fixed a typo on docs/middleware.txt. Thanks, Collin Grady

Modified: django/trunk/docs/middleware.txt
===================================================================
--- django/trunk/docs/middleware.txt    2007-01-03 22:38:51 UTC (rev 4281)
+++ django/trunk/docs/middleware.txt    2007-01-03 22:40:06 UTC (rev 4282)
@@ -106,9 +106,10 @@

**New in Django development version**

-Sets ``request['REMOTE_ADDR']`` based on ``request.['HTTP_X_FORWARDED_FOR']``,
-if the latter is set. This is useful if you're sitting behind a reverse proxy
-that causes each request's ``REMOTE_ADDR`` to be set to ``127.0.0.1``.
+Sets ``request.META['REMOTE_ADDR']`` based on
+``request.META['HTTP_X_FORWARDED_FOR']``, if the latter is set. This is useful
+if you're sitting behind a reverse proxy that causes each request's
+``REMOTE_ADDR`` to be set to ``127.0.0.1``.

**Important note:** This does NOT validate ``HTTP_X_FORWARDED_FOR``. If you're
not behind a reverse proxy that sets ``HTTP_X_FORWARDED_FOR`` automatically, do


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to