From 1ccca7cc68dab0f2ae0fed48561eda46778ca094 Mon Sep 17 00:00:00 2001 From: luckylhb90 Date: Thu, 7 Nov 2024 08:55:19 +0300 Subject: [PATCH] fixed: web api remote urls error (#10383) Co-authored-by: hobo.l --- api/controllers/web/remote_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/web/remote_files.py b/api/controllers/web/remote_files.py index 0b8a586d0c..cf36ae302d 100644 --- a/api/controllers/web/remote_files.py +++ b/api/controllers/web/remote_files.py @@ -12,7 +12,7 @@ from services.file_service import FileService class RemoteFileInfoApi(WebApiResource): @marshal_with(remote_file_info_fields) - def get(self, url): + def get(self, app_model, end_user, url): decoded_url = urllib.parse.unquote(url) try: response = ssrf_proxy.head(decoded_url)