From d6a7ca6e6d7b7b1e80571c1ea21aaa10a38bd0a1 Mon Sep 17 00:00:00 2001 From: Ahmed Zetao Yang Date: Sat, 6 Feb 2021 10:14:20 +0800 Subject: [PATCH] chore: update wetransfer script from upstream --- scripts/upload_services/transferwee.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upload_services/transferwee.py b/scripts/upload_services/transferwee.py index 8604e74c..60fea046 100644 --- a/scripts/upload_services/transferwee.py +++ b/scripts/upload_services/transferwee.py @@ -115,7 +115,7 @@ def download_url(url: str) -> str: def _file_unquote(file: str) -> str: """Given a URL encoded file unquote it. - All occurrences of `\', `/' and `../' will be ignored to avoid possible + All occurences of `\', `/' and `../' will be ignored to avoid possible directory traversals. """ return urllib.parse.unquote(file).replace('../', '').replace('/', '').replace('\\', '') @@ -297,7 +297,7 @@ def upload(files: List[str], message: str = '', sender: str = None, Also accepts optional parameters: - `message': message used as a description of the transfer - `sender': email address used to receive an ACK if the upload is - successful. For every download by the recipients an email + successfull. For every download by the recipients an email will be also sent - `recipients': list of email addresses of recipients. When the upload succeed every recipients will receive an email with a link