mirror of
https://github.com/status-im/react-native-webview.git
synced 2025-02-23 09:18:38 +00:00
fix(Android): Don't log the cookie when downloading file. (#1224)
This commit is contained in:
parent
118663287a
commit
24702450f3
@ -208,7 +208,6 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
||||
String baseUrl = urlObj.getProtocol() + "://" + urlObj.getHost();
|
||||
String cookie = CookieManager.getInstance().getCookie(baseUrl);
|
||||
request.addRequestHeader("Cookie", cookie);
|
||||
System.out.println("Got cookie for DownloadManager: " + cookie);
|
||||
} catch (MalformedURLException e) {
|
||||
System.out.println("Error getting cookie for DownloadManager: " + e.toString());
|
||||
e.printStackTrace();
|
||||
|
Loading…
x
Reference in New Issue
Block a user