From 3aa532f31fc2d07a0c6a5eaa7080aa331f0d6aca Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Wed, 23 Mar 2016 20:13:49 +0300 Subject: [PATCH] Fixed auth errors on Android when old pre-4.4 HTTPUrlConnection clients hang in redirect after POST. --- editor/osm_auth.cpp | 44 +++++++++++++++++++++++++++----------------- editor/osm_auth.hpp | 1 + 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/editor/osm_auth.cpp b/editor/osm_auth.cpp index ab7739e1a4..cceb0f7263 100644 --- a/editor/osm_auth.cpp +++ b/editor/osm_auth.cpp @@ -53,12 +53,6 @@ string BuildPostRequest(map const & params) return result; } -// Trying to determine whether it's a login page. -bool IsLoggedIn(string const & contents) -{ - return contents.find("