The SDK does not perform any substitution for spaces when querying for an application whose name contains them.
When running the following query using the SDK
ApplicationFilterForm filterForm = new ApplicationFilterForm();
String appName = "foo bar";
filterForm.setFilterText(appName);
Applications filteredApps = contrastSDK.getFilteredApplications(organizationId, filterForm);
The request fails with a 400 response. The generated request looks like:
GET https://app.contrastsecurity.com/Contrast/api/ng/<Organization ID>/applications/filter?filterText=foo bar&includeArchived=false&includeOnlyLicensed=false&includeMerged=true
Which is not a vaid URI due to the spaces in the name.
cc: @mmastrocinque