lasiar / canonicalheader

Golang linter checking the canonicality of the http header
MIT License
6 stars 1 forks source link

bug: false positives for abbreviations #39

Closed thejan2009 closed 3 weeks ago

thejan2009 commented 3 weeks ago

There is a bunch of standard HTTP headers in use that contain all uppercase abbreviations, such as WWW-Authenticate, TE, ETag.

Canonicallinter should not report them as invalid.

ccoVeille commented 3 weeks ago

Duplicate of #12

thejan2009 commented 3 weeks ago

Aha, I had a look at the open issues and didn't find anything that looked like a bug report, so I opened it here :)

ccoVeille commented 3 weeks ago

Aha, I had a look at the open issues and didn't find anything that looked like a bug report, so I opened it here :)

That's normal, I renamed it after you created yours, finding the issue name was misleading

ccoVeille commented 3 weeks ago

@thejan2009 bug has been fixed in latest version