bylickilabs / bylickilabs/Advanced-Vulnerability-Scanner
Refactor: Simplify header parsing logic
Open
code quality
refactor
- Dominant language
- PHP
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
> The current implementation of HTTP header parsing (parseHeadersRaw) is functional but complex. It should be refactored to:
- Improve readability and maintainability.
- Handle multiple Set-Cookie headers more gracefully.
- Avoid duplicate code when normalizing headers.
---
> Acceptance criteria:
- Clean, modular function with unit-like test coverage.
- No changes in functionality, only internal code improvements.
Contributor guide
Assessment
This issue has not been assessed yet.