From f67d8c770687d5ee82cc21e608c2daf5dbfd50f7 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Fri, 22 Sep 2017 23:46:59 -0700 Subject: update comment to align with method --- docs/quick_tour/views/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '

Hi %s, this redirects

' - # 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)) -- cgit v1.2.3