Skip to content

lib: optimize link header regex for case insensitivity

Improved the regular expression used to validate the Link header format by adding the case-insensitive flag i. This ensures that the regex properly matches header parameters regardless of their case, as per HTTP standards.

This change also removed an unnecessary non-capturing group for improved clarity and performance.

Merge request reports

Loading