We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7802f08 commit 0c495c9Copy full SHA for 0c495c9
src/config.rs
@@ -302,7 +302,7 @@ impl ServerConfig {
302
let port = parsed.port().unwrap_or(8388);
303
let addr = format!("{}:{}", host, port);
304
305
- let mut sp2 = account.split(':');
+ let mut sp2 = account.splitn(2, ':');
306
let (method, pwd) = match (sp2.next(), sp2.next()) {
307
(Some(m), Some(p)) => (m, p),
308
_ => panic!("Malformed input"),
0 commit comments