Skip to content

Conversation

@dorian-burihabwa-sonarsource
Copy link
Contributor

No description provided.

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod bot changed the title [rebase-me] Prepare release 8.22.1 SONARJAVA-5954 [rebase-me] Prepare release 8.22.1 Jan 9, 2026
@hashicorp-vault-sonar-prod
Copy link

hashicorp-vault-sonar-prod bot commented Jan 9, 2026

SONARJAVA-5954

@dorian-burihabwa-sonarsource dorian-burihabwa-sonarsource changed the title SONARJAVA-5954 [rebase-me] Prepare release 8.22.1 Prepare release 8.22.1 Jan 9, 2026
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert unwanted change due to disabled macro. Otherwise the PR is good,

<p>If it is possible to disable JavaScript in the WebView, this is the most secure option. By default, JavaScript is disabled in a WebView, so
<code>webSettings.setJavaScriptEnabled(false)</code> does not need to be explicitly called. Of course, sometimes it is necessary to enable JavaScript,
in which case the following recommendations should be considered.</p>
<code>{setJavaScriptEnabledSnippet}</code> does not need to be explicitly called. Of course, sometimes it is necessary to enable JavaScript, in which
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discovered that this is some sort of a macro that was incorrectly disabled in SonarSource/rspec#5968

See: https://github.com/search?q=repo%3ASonarSource%2Frspec%20setJavaScriptEnabledSnippet&type=code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be fixed now. And I can confirm that using the latest version of the rule-api does not help preventing the problem here.

@sonarqube-next
Copy link

sonarqube-next bot commented Jan 9, 2026

@dorian-burihabwa-sonarsource dorian-burihabwa-sonarsource merged commit 4cf78fc into branch-8.22 Jan 9, 2026
56 checks passed
@dorian-burihabwa-sonarsource dorian-burihabwa-sonarsource deleted the db/prepare-release-8.22.1 branch January 9, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants