Skip to content

Commit

Permalink
fixed: web api remote urls error (langgenius#10383)
Browse files Browse the repository at this point in the history
Co-authored-by: hobo.l <[email protected]>
  • Loading branch information
2 people authored and jiangzhijie committed Nov 14, 2024
1 parent b470fee commit 5012d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/web/remote_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

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)
Expand Down

0 comments on commit 5012d58

Please sign in to comment.