fixed: web api remote urls error (#10383)

Co-authored-by: hobo.l <hobo.l@binance.com>
pull/12372/head
luckylhb90 1 year ago committed by Joel
parent 99c84c423e
commit 03b57d1f0a

@ -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)

Loading…
Cancel
Save