diff --git a/lib/galaxy/tools/actions/upload.py b/lib/galaxy/tools/actions/upload.py index c758c96b2ae7..8ef70e933ab4 100644 --- a/lib/galaxy/tools/actions/upload.py +++ b/lib/galaxy/tools/actions/upload.py @@ -140,7 +140,7 @@ def replace_file_srcs(request_part): if destination_type == "hdca": _precreate_fetched_collection_instance(trans, history, target, outputs) - incoming["request_json"] = json.dumps(request) + incoming["request_json"] = json.dumps(request, ensure_ascii=False) return self._create_job(trans, incoming, tool, None, outputs, history=history) diff --git a/lib/galaxy/webapps/galaxy/services/tools.py b/lib/galaxy/webapps/galaxy/services/tools.py index 6897965d112f..ea334ab446e1 100644 --- a/lib/galaxy/webapps/galaxy/services/tools.py +++ b/lib/galaxy/webapps/galaxy/services/tools.py @@ -86,7 +86,7 @@ def create_fetch( clean_payload[key] = value clean_payload["check_content"] = self.config.check_upload_content validate_and_normalize_targets(trans, clean_payload) - request = dumps(clean_payload) + request = dumps(clean_payload, ensure_ascii=False) create_payload = { "tool_id": "__DATA_FETCH__", "history_id": history_id,