Skip to content

Commit 2efef18

Browse files
Fix request censoring
1 parent a1e88c8 commit 2efef18

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# GDIntercept Changelog
22

3+
## v0.8.8 Fix request censoring
4+
5+
- Fix a bug where the sent body had censored fields
6+
37
## v0.8.7 Masking
48

59
- Add request masking to hide telemetry info

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ else()
1010
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
1111
endif()
1212

13-
project(GDIntercept VERSION 0.8.7)
13+
project(GDIntercept VERSION 0.8.8)
1414

1515
file(GLOB_RECURSE SOURCES "src/*.cpp")
1616
add_library(${PROJECT_NAME} SHARED ${SOURCES})

mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"geode": "5.6.1",
3-
"version": "v0.8.7",
3+
"version": "v0.8.8",
44
"id": "smjs.gdintercept",
55
"name": "GDIntercept",
66
"developers": [

src/proxy/converters/Converter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ std::string proxy::converters::safeDump(const nlohmann::ordered_json& json, cons
9191
}
9292

9393
nlohmann::json proxy::converters::getPrimitiveJsonType(const std::string_view key, const std::string_view str, const bool censor) {
94-
if ((Mod::get()->getSettingValue<bool>("censor-data") || censor) && converters::shouldCensor(key)) {
94+
if (Mod::get()->getSettingValue<bool>("censor-data") && censor && converters::shouldCensor(key)) {
9595
return json("********");
9696
} else if (converters::isNull(str)) {
9797
return json();

0 commit comments

Comments
 (0)