Skip to content

Commit 6f7858d

Browse files
ComputerEliteComputerElite
authored andcommitted
stop logging urls cause they can contain tokens
1 parent 0f6f9f8 commit 6f7858d

3 files changed

Lines changed: 3 additions & 10 deletions

File tree

QuestAppVersionSwitcher/Properties/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.9.2" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="40">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.9.3" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="41">
33
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="29" />
44
<uses-permission android:name="oculus.permission.handtracking" />
55
<uses-permission android:name="com.oculus.permission.HAND_TRACKING" />

QuestAppVersionSwitcher/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
// Minor Version
2323
// Build Number
2424
// Revision
25-
[assembly: AssemblyVersion("1.9.2.0")]
26-
[assembly: AssemblyFileVersion("1.9.2.0")]
25+
[assembly: AssemblyVersion("1.9.3.0")]
26+
[assembly: AssemblyFileVersion("1.9.3.0")]

QuestAppVersionSwitcher/WebServer.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public class QAVSWebViewClient : WebViewClient
5050
public override void OnPageFinished(WebView view, string url)
5151
{
5252
CookieManager.Instance.Flush();
53-
Logger.Log(url);
5453
if (url.Split("?")[0].Contains("oculus.com"))
5554
{
5655
// click login button
@@ -111,10 +110,6 @@ public override WebResourceResponse ShouldInterceptRequest(WebView view, IWebRes
111110
});
112111
});
113112
t.Start();
114-
foreach (KeyValuePair<string, string> p in request.RequestHeaders)
115-
{
116-
Logger.Log(p.Key + ": " + p.Value);
117-
}
118113
}
119114
/*
120115
// somehow user webclient to handle the request and then change the response headers. No idea how to get the request body from the webview
@@ -140,10 +135,8 @@ public Dictionary<string, string> GetHeaders(IDictionary<string, IList<string>>
140135
Dictionary<string, string> headers = new Dictionary<string, string>();
141136
foreach (KeyValuePair<string, IList<string>> p in h)
142137
{
143-
Logger.Log("8");
144138
if (p.Value.Count > 0)
145139
{
146-
Logger.Log("9: " + p.Key);
147140
if(p.Key != null) headers.Add(p.Key.ToLower(), p.Value[0]);
148141
}
149142
}

0 commit comments

Comments
 (0)