mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-02-17 22:11:30 +08:00
debugg invalid id issue https://discord.com/channels/804630702657110016/804630702657110018/1384157888603357337
This commit is contained in:
@@ -1297,6 +1297,7 @@ pub async fn change_id_shared(id: String, old_id: String) -> String {
|
||||
|
||||
pub async fn change_id_shared_(id: String, old_id: String) -> &'static str {
|
||||
if !hbb_common::is_valid_custom_id(&id) {
|
||||
log::debug!("debugging invalid id: \"{id}\", base64: \"{}\"", crate::encode64(&id));
|
||||
return INVALID_FORMAT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user