Skip to content

Commit 7e86931

Browse files
committed
improve comment spelling
1 parent 1ae357d commit 7e86931

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ide/routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,8 @@ def check_for_escaped_hash():
380380
special case to check for escaped hash at beginning of path. Joe Heafner reported a problem where an URL with a '%23'
381381
immidiately after the first '/' would produce a 404. Unfortunatey this happens before our routes are matched, so we
382382
need to handle it in 'before_request'. Here we just check for this situation and redirect using a regular hash/fragment.
383-
It occurst to me that this is a rather expensive check, affecting every single request, however, my attempts to have
384-
flask handle this as an explicit route (e.g., app.route('/%23/<path>')) have unfortunately failed.
383+
It occurs to me that this is a rather expensive check, affecting every single request, however, my attempts to have
384+
flask handle this as an explicit route (e.g., app.route('/%23/<path>')) have, unfortunately, failed.
385385
"""
386386
url = flask.request.url
387387
p = urllib.parse.urlparse(url)

0 commit comments

Comments
 (0)