]> git.ipfire.org Git - thirdparty/starlette.git/commit
Allow relative directory path when `follow_symlinks=True` (#2896)
authorBruno D. Rodrigues <bruno.rodrigues@litux.org>
Sat, 8 Mar 2025 07:59:24 +0000 (07:59 +0000)
committerGitHub <noreply@github.com>
Sat, 8 Mar 2025 07:59:24 +0000 (07:59 +0000)
commitbc3b4002e241353d96e1ad18d8c6b5fc4f8463df
treede74837c5ed894acfdb7896415e8e05724672326
parent49158732f8a96744889f5a7644a42ae08131bd15
Allow relative directory path when `follow_symlinks=True` (#2896)

* Fix for StaticFiles(follow_symlinks=True, directory="some relative path") that stopped working with commit eee4cdc

* Change test name

* Delete test parameter

---------

Co-authored-by: Bruno D. Rodrigues <bruno.rodrigues@bitsighttech.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
starlette/staticfiles.py
tests/test_staticfiles.py