Feature: reduce size of query params on initial projects page load

Just encountered this issue where long query strings get blocked.

I am in a situation where we are behind security rules that do not allow long query strings. I believe this is relatively common network security rule. For example AWS WAF managed baseline ruleset has a 2,048 bytes limit. I believe there are other instances of network infra or applications that will reject these requests. I don’t think changing the security rules is possible in my case.

Whether this is an actual security issue could be debated, however, in light of the reality, that many of us have no facility to change the security rules (or other offending apps), is it possible to look at reducing the size of the query string for the initial request to get all projects api/measures/search?projectKeys= ?

Apologies if this is already requested, I couldn’t find a request to change this feature, just a number of questions about the first page not loading the projects.

Hello Gareth,

Thank you for bringing this to us.
We have added a task in our backlog to improve this query while migrating to v2 APIs: [SONAR-23360] - Jira

Thanks,