mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 01:33:04 +00:00
Bug fixes
Fix compatibility issue for some ShadowsocksD subscription. Fix some cross-platform configuration file reader bugs. Add upload to Gist function. Add append MANAGED-CONFIG to Surge configuration function. Clean up codes.
This commit is contained in:
11 files changed
+351
-274
No files matched your search
@@ -478,7 +478,7 @@ std::string urlsafe_base64_decode(std::string encoded_string)
|
||||
|
||||
std::string urlsafe_base64_encode(std::string string_to_encode)
|
||||
{
|
||||
return replace_all_distinct(replace_all_distinct(base64_encode(string_to_encode), "+", "-"), "/", "_");
|
||||
return replace_all_distinct(replace_all_distinct(replace_all_distinct(base64_encode(string_to_encode), "+", "-"), "/", "_"), "=", "");
|
||||
}
|
||||
|
||||
std::string getMD5(std::string data)
|
||||
|
||||
Reference in new issue
Block a user