Skip to content

Commit

Permalink
Merge branch 'hotfix/6.8.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
ccomeaux committed Jan 30, 2022
2 parents cd6c846 + cdaca1c commit 91b9655
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,10 @@
Release Notes
=============

Version 6.8.2
-------------
Correct error 307 received when attempting to upload data to BGG

Version 6.8.1
-------------
* Correct problem logging into BGG
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Expand Up @@ -12,7 +12,7 @@ buildscript {

def versionMajor = 6
def versionMinor = 8
def versionPatch = 1
def versionPatch = 2
def versionBuild = 0

apply plugin: 'com.android.application'
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/java/com/boardgamegeek/auth/BggCookieJar.java
Expand Up @@ -21,7 +21,8 @@ public void saveFromResponse(@NonNull HttpUrl url, @NonNull List<Cookie> cookies
Timber.w(url.toString());
Timber.w(cookies.toString());
for (Cookie cookie : cookies) {
if ("bggpassword".equalsIgnoreCase(cookie.name())) {
if ("bggpassword".equalsIgnoreCase(cookie.name()) &&
!"deleted".equalsIgnoreCase(cookie.value())) {
authToken = cookie.value();
authTokenExpiry = cookie.expiresAt();
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/boardgamegeek/io/Adapter.java
Expand Up @@ -44,7 +44,7 @@ private static Retrofit.Builder createBuilderWithoutConverterFactory(Context con
httpClient = HttpUtils.getHttpClientWithAuth(context);
}
return new Retrofit.Builder()
.baseUrl("https://www.boardgamegeek.com/")
.baseUrl("https://boardgamegeek.com/")
.client(httpClient);
}
}
Expand Up @@ -17,7 +17,7 @@
import okhttp3.Response;

public abstract class CollectionTask {
private static final String GEEK_COLLECTION_URL = "https://www.boardgamegeek.com/geekcollection.php";
private static final String GEEK_COLLECTION_URL = "https://boardgamegeek.com/geekcollection.php";
private static final String ERROR_DIV = "<div class='messagebox error'>";
private static final String AUTH_ERROR_TEXT = "login";
protected final OkHttpClient client;
Expand Down
Expand Up @@ -343,7 +343,7 @@ class SyncPlaysUpload(application: BggApplication, service: BggService, syncResu
}

companion object {
const val GEEK_PLAY_URL = "https://www.boardgamegeek.com/geekplay.php"
const val GEEK_PLAY_URL = "https://boardgamegeek.com/geekplay.php"

private fun getMapKey(index: Int, key: String): String {
return "players[$index][$key]"
Expand Down

0 comments on commit 91b9655

Please sign in to comment.