Skip to content

Commit

Permalink
Fix a wrong parse
Browse files Browse the repository at this point in the history
  • Loading branch information
HMBSbige committed Nov 1, 2019
1 parent a6bc706 commit bfbddfd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/com/github/shadowsocks/utils/Parser.kt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ object Parser
profile.obfs = ss.groupValues[6].toLowerCase(Locale.ENGLISH)
profile.password = Base64.decodeUrlSafe(ss.groupValues[7])

if (profile.obfs == "tls1.2_ticket_fastauth")
{
profile.obfs = "tls1.2_ticket_auth"
}
var param = Regex(decodedPattern_ssr_obfsparam_regex).find(uri)
if (param != null)
{
Expand Down

0 comments on commit bfbddfd

Please sign in to comment.