-
Salem Harrache authored
e.g: >>> op.normpath(directory).startswith(base_path) False >>> op.normpath(directory) u'/home/projects/mywebsite/static/utils' >>> base_path u'/home/projects/mywebsite/admin/../static' >>> base_path = op.normpath(base_path) >>> op.normpath(directory).startswith(base_path) True
8b6b380b
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| sqlamodel | ||
| __init__.py | ||
| fileadmin.py |