updated to include original wording

This commit is contained in:
David 2024-11-06 17:46:14 +00:00 committed by GitHub
parent c98abb435e
commit 629fa0ab3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -546,7 +546,8 @@ def send_from_directory(
If the final path does not point to an existing regular file,
raises a 404 :exc:`~werkzeug.exceptions.NotFound` error.
:param directory: The directory that ``path`` must be located under. This *must not*
:param directory: The directory that ``path`` must be located under,
relative to the current application's root path. This *must not*
be a value provided by the client, otherwise it becomes insecure.
:param path: The path to the file to send, relative to
``directory``.