浏览代码

fixed: web api remote urls error (#10383)

Co-authored-by: hobo.l <hobo.l@binance.com>
tags/0.11.1
luckylhb90 1年前
父节点
当前提交
1ccca7cc68
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      api/controllers/web/remote_files.py

+ 1
- 1
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)

正在加载...
取消
保存