Bug in triggerURL when long passwords were used
This commit is contained in:
1 parent
ad4e0d613e
commit
92c7abe735
3 files changed
+4
-3
No files matched your search
@@ -84,7 +84,7 @@ public class ActivityManageTriggerBluetooth extends Activity
|
||||
else
|
||||
refreshBluetoothDeviceSpinner();
|
||||
|
||||
spinnerBluetoothDevices.setEnabled(false);
|
||||
spinnerBluetoothDevices.setEnabled(false);
|
||||
|
||||
if(editedBluetoothTrigger.getBluetoothDeviceAddress() != null && editedBluetoothTrigger.getBluetoothDeviceAddress().length() > 0)
|
||||
loadVariableIntoGui();
|
||||
|
||||
@@ -199,7 +199,7 @@ public class Miscellaneous extends Service
|
||||
// Add http simple authentication if specified
|
||||
if (username != null && password != null)
|
||||
{
|
||||
String encodedCredentials = Base64.encodeToString(new String(username + ":" + password).getBytes(), Base64.DEFAULT);
|
||||
String encodedCredentials = Base64.encodeToString(new String(username + ":" + password).getBytes(), Base64.NO_WRAP);
|
||||
connection.setRequestMethod("POST");
|
||||
connection.setDoOutput(true);
|
||||
connection.setRequestProperty("Authorization", "Basic " + encodedCredentials);
|
||||
|
||||
@@ -4,4 +4,5 @@
|
||||
* Added: Stop service as action
|
||||
* Fixed: Crash when starting to add/edit a triggerURL action while the app or the system are set to the German language
|
||||
* Fixed: Crash when starting service in Google Play version
|
||||
* Fixed: Bluetooth permission was not correct requested when editing a bluetooth device trigger
|
||||
* Fixed: Bluetooth permission was not correct requested when editing a bluetooth device trigger
|
||||
* Fixed: Bug in triggerURL when long passwords were used
|
||||
Reference in new issue
Block a user