Commit 730efbaf authored by Max Lv's avatar Max Lv

refine URL parser

parent 8b054768
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.shadowsocks" package="com.github.shadowsocks"
android:versionCode="102" android:versionCode="103"
android:versionName="2.6.4"> android:versionName="2.6.5">
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
......
This diff is collapsed.
...@@ -65,7 +65,7 @@ object Parser { ...@@ -65,7 +65,7 @@ object Parser {
profile.host = host profile.host = host
profile.remotePort = port.toInt profile.remotePort = port.toInt
profile.localPort = 1080 profile.localPort = 1080
profile.method = method profile.method = method.toLowerCase
profile.password = password profile.password = password
return Some(profile) return Some(profile)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment