mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
## Addresses #16615 and #18041 ### #16615: - Trim whitespace for backend filtered tables - Trim whitespace in UI for Queries table search string <img width="1271" alt="Screenshot 2024-03-06 at 11 46 56 AM" src="https://github.com/fleetdm/fleet/assets/61553566/b818591c-a977-4203-8adb-3a0d909fcfbb"> <img width="1271" alt="Screenshot 2024-03-06 at 11 47 21 AM" src="https://github.com/fleetdm/fleet/assets/61553566/3c95b992-31ed-4c12-9763-6f5fc7d78b1f"> <img width="1800" alt="Screenshot 2024-03-06 at 3 18 31 PM" src="https://github.com/fleetdm/fleet/assets/61553566/05c677a4-80e8-4f94-8abc-235cab4145b7"> <img width="1800" alt="Screenshot 2024-03-06 at 5 05 25 PM" src="https://github.com/fleetdm/fleet/assets/61553566/4a5529a4-dd5f-463c-97ae-6ceaaaff7f93"> _______________________ ### #18041: #### Global:  #### Team:  #### **Similar fix for `GET` ...`vulnerabilities`** - [x] Changes file added for user-visible changes in `changes/` - [x] Add integration tests for all affected endpoints - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
6 lines
523 B
Text
6 lines
523 B
Text
- Correctly parse query params for `GET` ...`policies/count`, `GET` ...`teams/:id/policies/count`, and
|
|
`GET` ...`vulnerabilities`
|
|
- Also updates `GET` ...`labels` to return `400` when the non-supported `query` url param is
|
|
included in the request. Previous behavior was to silently ignore that param and return `200`.
|
|
This is technically a minor breaking change, but one that breaks in the right direction, i.e., if
|
|
you see this break, you were using a URL param that was being ignored, which you are now aware of.
|