corazawaf / coraza-caddy

OWASP Coraza middleware for Caddy. It provides Web Application Firewall capabilities
https://www.coraza.io/
Apache License 2.0
290 stars 35 forks source link

chore: removes the warning and fallback to the authority. #72

Closed jcchavezs closed 1 year ago

jcchavezs commented 1 year ago

When the parseServerName used to fail because port wasn't present we produced a log warning which wasn't accurante nor actionable. In this commit it is being removed and relaxes the parsing to a best effort.

Closes #70

Ping @ericswpark

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 2 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication