Skip to content

Commit 93628cd

Browse files
committed
upd changelog and warn on invalid url
1 parent e54ad09 commit 93628cd

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set(CMAKE_CXX_STANDARD 20)
33
set(CMAKE_CXX_STANDARD_REQUIRED ON)
44
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
55

6-
project(argon VERSION 1.4.2)
6+
project(argon VERSION 1.4.3)
77

88
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS
99
src/*.cpp

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.4.3
2+
3+
* Fix incorrect URL offsets on Android causing verification failure
4+
15
# 1.4.2
26

37
* Fix Android builds by @hiimjasmine00 in #7

src/Web.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ std::string getBaseServerUrl() {
7777
ret.pop_back();
7878
}
7979

80+
if (!ret.starts_with("http")) {
81+
log::error("(Argon) the base server URL does not appear to be valid: '{}'", ret);
82+
log::error("(Argon) the offset may be invalid, we used base + {:x} (alt: {})", isAmazonStore ? g_urlOffset.alt : g_urlOffset.value, isAmazonStore);
83+
}
84+
8085
return ret;
8186
}
8287

0 commit comments

Comments
 (0)