mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 05:38:27 +08:00
fix filename encode issue when download chinese filename (#7542)
This commit is contained in:
parent
771373e6aa
commit
565619a216
@ -159,7 +159,7 @@ void Downloader::start_download(const std::string& full_url)
|
||||
size_t id = get_next_id();
|
||||
std::string escaped_url = FileGet::escape_url(full_url.substr(results.length()));
|
||||
if (is_bambustudio_open(full_url) || (is_orca_open(full_url) && is_makerworld_link(full_url)))
|
||||
plater->request_model_download(escaped_url);
|
||||
plater->request_model_download(wxString::FromUTF8(escaped_url));
|
||||
else {
|
||||
std::string text(escaped_url);
|
||||
m_downloads.emplace_back(std::make_unique<Download>(id, std::move(escaped_url), this, m_dest_folder));
|
||||
|
Loading…
x
Reference in New Issue
Block a user