summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2017-09-23 10:31:48 -0700
committerGitHub <noreply@github.com>2017-09-23 10:31:48 -0700
commitdba0b43c4c8e848a22be38e863219dd512bf992b (patch)
tree70c2b80779b22f600fc8a9acae472184f67c758c /docs
parent11fd4448711e3fc2f9c6a7f5971110a885a8ee1c (diff)
parentf67d8c770687d5ee82cc21e608c2daf5dbfd50f7 (diff)
downloadpyramid-dba0b43c4c8e848a22be38e863219dd512bf992b.tar.gz
pyramid-dba0b43c4c8e848a22be38e863219dd512bf992b.tar.bz2
pyramid-dba0b43c4c8e848a22be38e863219dd512bf992b.zip
Merge pull request #3171 from stevepiercy/master
update comment to align with method
Diffstat (limited to 'docs')
-rw-r--r--docs/quick_tour/views/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/quick_tour/views/views.py b/docs/quick_tour/views/views.py
index 9db8ef3c4..95a2b60ca 100644
--- a/docs/quick_tour/views/views.py
+++ b/docs/quick_tour/views/views.py
@@ -16,7 +16,7 @@ def home_view(request):
def hello_view(request):
name = request.params.get('name', 'No Name')
body = '<p>Hi %s, this <a href="/goto">redirects</a></p>'
- # cgi.escape to prevent Cross-Site Scripting (XSS) [CWE 79]
+ # pyramid.compat.escape to prevent Cross-Site Scripting (XSS) [CWE 79]
return Response(body % escape(name))