Merge pull request #6257 from LuoYun-Team/enforce-https
fix:使用 HTTP 协议获取皮肤导致被劫持
This commit is contained in:
@@ -1595,7 +1595,7 @@ OnLoaded:
|
|||||||
Try
|
Try
|
||||||
For Each SkinProperty In GetJson(SkinString)("properties")
|
For Each SkinProperty In GetJson(SkinString)("properties")
|
||||||
If SkinProperty("name") = "textures" Then
|
If SkinProperty("name") = "textures" Then
|
||||||
SkinValue = SkinProperty("value")
|
SkinValue = SkinProperty("value").Replace("http:","https:")
|
||||||
Exit Try
|
Exit Try
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
|
|||||||
Reference in New Issue
Block a user