Bugfix when triggering URL

This commit is contained in:
jens 2025-03-22 20:27:59 +01:00
parent 17edf90086
commit abd346946a
3 changed files with 5 additions and 3 deletions

View File

@ -11,8 +11,8 @@ android {
compileSdkVersion 33 compileSdkVersion 33
buildToolsVersion '29.0.2' buildToolsVersion '29.0.2'
useLibrary 'org.apache.http.legacy' useLibrary 'org.apache.http.legacy'
versionCode 143 versionCode 144
versionName "1.8.2" versionName "1.8.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }

View File

@ -734,7 +734,8 @@ public class Action
for(String pair : paramPairs) for(String pair : paramPairs)
{ {
String[] pieces = pair.split(Action.actionParameters2SeparatorInner); String[] pieces = pair.split(Action.actionParameters2SeparatorInner);
httpParams.put(pieces[0], pieces[1]); if(pieces.length == 2)
httpParams.put(pieces[0], pieces[1]);
} }
} }

View File

@ -0,0 +1 @@
* Fixed: Crash when triggering a URL without parameter pairs