Skip to content

Commit 2470245

Browse files
authored
fix(Android): Don't log the cookie when downloading file. (#1224)
1 parent 1186632 commit 2470245

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ public void onDownloadStart(String url, String userAgent, String contentDisposit
208208
String baseUrl = urlObj.getProtocol() + "://" + urlObj.getHost();
209209
String cookie = CookieManager.getInstance().getCookie(baseUrl);
210210
request.addRequestHeader("Cookie", cookie);
211-
System.out.println("Got cookie for DownloadManager: " + cookie);
212211
} catch (MalformedURLException e) {
213212
System.out.println("Error getting cookie for DownloadManager: " + e.toString());
214213
e.printStackTrace();

0 commit comments

Comments
 (0)