Преглед изворни кода

fix(Android): Don't log the cookie when downloading file. (#1224)

trcoffman пре 4 година
родитељ
комит
24702450f3
No account linked to committer's email address

+ 0
- 1
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java Прегледај датотеку

@@ -208,7 +208,6 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
208 208
           String baseUrl = urlObj.getProtocol() + "://" + urlObj.getHost();
209 209
           String cookie = CookieManager.getInstance().getCookie(baseUrl);
210 210
           request.addRequestHeader("Cookie", cookie);
211
-          System.out.println("Got cookie for DownloadManager: " + cookie);
212 211
         } catch (MalformedURLException e) {
213 212
           System.out.println("Error getting cookie for DownloadManager: " + e.toString());
214 213
           e.printStackTrace();