diff options
| author | Steve Piercy <web@stevepiercy.com> | 2017-09-22 23:46:59 -0700 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2017-09-22 23:46:59 -0700 |
| commit | f67d8c770687d5ee82cc21e608c2daf5dbfd50f7 (patch) | |
| tree | 70c2b80779b22f600fc8a9acae472184f67c758c /docs/quick_tour/views | |
| parent | 11fd4448711e3fc2f9c6a7f5971110a885a8ee1c (diff) | |
| download | pyramid-f67d8c770687d5ee82cc21e608c2daf5dbfd50f7.tar.gz pyramid-f67d8c770687d5ee82cc21e608c2daf5dbfd50f7.tar.bz2 pyramid-f67d8c770687d5ee82cc21e608c2daf5dbfd50f7.zip | |
update comment to align with method
Diffstat (limited to 'docs/quick_tour/views')
| -rw-r--r-- | docs/quick_tour/views/views.py | 2 |
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)) |
