gradio
1c257f5e - Bugfix: `..` in filename throwing error while loading in output. (#7795)

Commit
1 year ago
Bugfix: `..` in filename throwing error while loading in output. (#7795) * Exclude filename while preventing path traversal * add changeset * add changeset * Check if path1 is a file and use path1 parent to compare * explicit --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Author
Parents
Loading