##// END OF EJS Templates
contents: double check that os_path is always within root...
contents: double check that os_path is always within root check based on tornado `StaticFileHandler.validate_absolute_path` I haven't been able to actually escape root, but we should have this check anyway.

File last commit:

r13347:54891794
r20658:2e67c042
Show More
tokenize2.py
9 lines | 160 B | text/x-python | PythonLexer
"""Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from ._tokenize_py3 import *
else:
from ._tokenize_py2 import *