bylickilabs / bylickilabs/Advanced-Vulnerability-Scanner

Refactor: Simplify header parsing logic

Open
#6 0 comments 0 reactions 1 assignee Claimed by @bylickilabs View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.