mirror of
https://github.com/clearml/clearml-server
synced 2025-06-26 23:15:47 +00:00
Update requirements
This commit is contained in:
@@ -3,6 +3,7 @@ import json
|
||||
import mimetypes
|
||||
import os
|
||||
import shutil
|
||||
import urllib.parse
|
||||
from argparse import ArgumentParser
|
||||
from collections import defaultdict
|
||||
from pathlib import Path
|
||||
@@ -13,7 +14,6 @@ from flask_compress import Compress
|
||||
from flask_cors import CORS
|
||||
from werkzeug.exceptions import NotFound
|
||||
from werkzeug.security import safe_join
|
||||
from werkzeug.urls import url_unquote_plus
|
||||
|
||||
from config import config
|
||||
from utils import get_env_bool
|
||||
@@ -133,7 +133,7 @@ def batch_delete():
|
||||
log_errors[msg].append(str(path_))
|
||||
|
||||
for file in files:
|
||||
path = url_unquote_plus(file)
|
||||
path = urllib.parse.unquote_plus(file)
|
||||
if not path or not path.strip("/"):
|
||||
# empty path may result in deleting all company data. Too dangerous
|
||||
record_error("Empty path not allowed", file, path)
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
boltons>=19.1.0
|
||||
flask-compress>=1.4.0
|
||||
flask-cors>=3.0.5
|
||||
flask>=0.12.2
|
||||
flask>=2.3.2
|
||||
gunicorn>=20.1.0
|
||||
markupsafe==2.0.1
|
||||
pyhocon>=0.3.35
|
||||
setuptools>=65.5.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user