SonarQube Server 2025.1 LTA - sonar.web.context isn't working for font url

It runs behind a proxy with custom context path ‘/sonar’. The UI is mostly working with one exception.

The UI tries to download the font from my-domain.com/fonts/Inter/Inter-SemiBold.woff2 instead of my-domain.com/sonar/fonts/Inter/Inter-SemiBold.woff2.

I tried setting the sonar.web.context using all possibilities like environment variable and java properties.

Any idea? There is a bug mentioned this problem already but it is fixed in version 10.4. It seems as it found its way back.

Hey there.

Oof. I can reproduce that, and it doesn’t look like any tickets for the upcoming patch release (2025.1.1) will fix that.

I’ve flagged this for attention.

Looks like there’s a ticket fixing this for the next big release: SONAR-24397

But we might be able to sneak it into the upcoming patch release. I’ll let you know soon!

1 Like

Hey,

would be great!

Thanks a lot in advance.

Can confirm it will be backported. Keep an eye out for the patch release next week. Thanks again!

1 Like