francescotescari / XiaoMiToolV2

XiaomiTool V2 - Modding tool for xiaomi devices
https://www.xiaomitool.com
Apache License 2.0
625 stars 124 forks source link

Use CookieManager from javafx #94

Open mymedia2 opened 1 year ago

mymedia2 commented 1 year ago

Use com.sun.webkit.network.CookieManager provided by javafx, not java.net.CookieManager which is not capable of processing RFC 6265 styled cookies. I believe the tool should not access cookies individually and, instead, store them as a whole in a CookieJar. But we are where we are.

Nevertheless, this patch fixes login by QR code.

Closes: #64