mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
debugg invalid id issue https://discord.com/channels/804630702657110016/804630702657110018/1384157888603357337
This commit is contained in:
1 parent
d84b26a9cd
commit
bfd6ca79f8
1 file changed
+1
@@ -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