mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
update: try to fix online update; replace spaces in url with %20
Origin commit data
------------------
Commit: ceb766e556
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-07-03 (Wed, 03 Jul 2019)
Origin message was:
------------------
- update: try to fix online update; replace spaces in url with %20
This commit is contained in:
@@ -157,6 +157,8 @@ void CFlashUpdate::update_php(std::string &url, const char* type)
|
||||
url += g_info.hw_caps->boxname;
|
||||
url += "&chip_type=" + to_string(cs_get_chip_type());
|
||||
url += "&image_type=" + (std::string)type;
|
||||
|
||||
url = str_replace(" ", "%20", url);
|
||||
printf("[update_php] url %s\n", url.c_str());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user