Skip to content

IIS: fix dead Host header fallback (r->hostname == NULL can never be true) - #3622

Open
A13501350 wants to merge 1 commit into
owasp-modsecurity:v2/masterfrom
A13501350:fix/iis-hostname-fallback
Open

IIS: fix dead Host header fallback (r->hostname == NULL can never be true)#3622
A13501350 wants to merge 1 commit into
owasp-modsecurity:v2/masterfrom
A13501350:fix/iis-hostname-fallback

Fix IIS Host header fallback: treat empty r->hostname like NULL

99ffd88
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 27, 2026 in 37s

Quality Gate failed

Failed conditions
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 718 in iis/mymodule.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 45 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AaBCZ0zJ6193acJ4eyu-&open=AaBCZ0zJ6193acJ4eyu-&pullRequest=3622