summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2011-05-30 22:50:11 +0000
committerLuke Plant <L.Plant.98@cantab.net>2011-05-30 22:50:11 +0000
commit0994416d3f2dbe4a6428213274aef8a91e717c04 (patch)
tree0fb8838a0e31cead9a335db8e4224185be55a899 /docs
parent524c5fa07a38cc68a81a12428befdafcfde1afc3 (diff)
Fixed some typos/grammar in clickjacking docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/clickjacking.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/clickjacking.txt b/docs/ref/clickjacking.txt
index 234fab2fa8..cb0994e242 100644
--- a/docs/ref/clickjacking.txt
+++ b/docs/ref/clickjacking.txt
@@ -24,7 +24,7 @@ for convenience. An attacker site might create an "I Like Ponies" button on one
of their own pages, and load the store's page in a transparent iframe such that
the "Buy Now" button is invisibly overlaid on the "I Like Ponies" button. If the
user visits the attacker site and clicks "I Like Ponies" he will inadvertently
-click on the online store's "Buy Now" button and unknowningly purchase the item.
+click on the online store's "Buy Now" button and unknowingly purchase the item.
Preventing clickjacking
=======================
@@ -70,7 +70,7 @@ every outgoing ``HttpResponse``. If you want DENY instead, set the
When using the middleware there may be some views where you do **not** want the
X-Frame-Options header set. For those cases, you can use a view decorator that
-tells the middleware to not set the header::
+tells the middleware not to set the header::
from django.http import HttpResponse
from django.views.decorators.clickjacking import xframe_options_exempt