Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd4f0360 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am e292086e: Merge change 1391 into donut

Merge commit 'e292086e'

* commit 'e292086e':
  Fix 1799207. With the new local dns, we should allow the host without any PERIOD. Otherwise http://go won't work properly.
parents 10e4d206 e292086e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -647,8 +647,6 @@ public final class CookieManager {
                    // another file in the local web server directory. Still
                    // "localhost" is the best pseudo domain name.
                    ret[0] = "localhost";
                } else if (!ret[0].equals("localhost")) {
                    return null;
                }
            } else if (index == ret[0].lastIndexOf(PERIOD)) {
                // cookie host must have at least two periods