QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685
以下内容为反编译后的 c.java 源代码,内容仅作参考
package com.tencent.luggage.wxa.mw;
import android.webkit.URLUtil;
import com.tencent.luggage.wxa.se.t;
import java.net.MalformedURLException;
import java.net.URL;
public class c implements b {
@Override
public String a(String str) {
URL url;
if (!URLUtil.isNetworkUrl(str)) {
return str;
}
if (str != null && str.startsWith("http://mpvideo.qpic.cn")) {
str = str.substring(0, str.indexOf("?"));
}
try {
url = new URL(str);
} catch (MalformedURLException e) {
com.tencent.luggage.wxa.my.b.a(6, "DefaultCacheKeyGenerator", com.tencent.luggage.wxa.my.b.a(e));
url = null;
}
if (url != null) {
return t.a(str).substring(0, 20);
}
return null;
}
}