Browse Source

fixed: web api remote urls error (#10383)

Co-authored-by: hobo.l <hobo.l@binance.com>
tags/0.11.1
luckylhb90 1 year ago
parent
commit
1ccca7cc68
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/controllers/web/remote_files.py

+ 1
- 1
api/controllers/web/remote_files.py View File



class RemoteFileInfoApi(WebApiResource): class RemoteFileInfoApi(WebApiResource):
@marshal_with(remote_file_info_fields) @marshal_with(remote_file_info_fields)
def get(self, url):
def get(self, app_model, end_user, url):
decoded_url = urllib.parse.unquote(url) decoded_url = urllib.parse.unquote(url)
try: try:
response = ssrf_proxy.head(decoded_url) response = ssrf_proxy.head(decoded_url)

Loading…
Cancel
Save