Enhance sast-rule java/cookie/rule-RequestParamToHeader.yml
Problem
- The regex for this rule is incorrect regex, it's not CR LF, it's '\r' '\n'
- Could have way more sources than just
getParameter
- Remove javax.servlet part of namespace so both javax.servlet and jakarta.servlet will be matched
Solution
Follow the enhance rule checklist.
Edited by Isaac Dawson