Skip to content

Commit

Permalink
Merge pull request web2py#1549 from amerikan/patch-1
Browse files Browse the repository at this point in the history
typo fix
  • Loading branch information
mdipierro authored Dec 24, 2016
2 parents ce0c5f2 + 4acd9f8 commit 0644df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applications/welcome/views/generic.jsonp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# it is not safe to use as a generic.jsonp because of security implications.

if response.view == 'generic.jsonp':
raise HTTP(501,'generic.jsonp diasbled for security reasons')
raise HTTP(501,'generic.jsonp disabled for security reasons')

try:
from gluon.serializers import json
Expand All @@ -20,4 +20,4 @@ except ImportError:
raise HTTP(405, 'JSON not available')
except:
raise HTTP(405, 'JSON error')
}}
}}

0 comments on commit 0644df5

Please sign in to comment.