refine URL parser

This commit is contained in:
Max Lv
2015-02-09 18:45:40 +08:00
parent 8b05476823
commit 730efbafc0
3 changed files with 4 additions and 4 deletions
@@ -65,7 +65,7 @@ object Parser {
profile.host = host
profile.remotePort = port.toInt
profile.localPort = 1080
profile.method = method
profile.method = method.toLowerCase
profile.password = password
return Some(profile)
}