feat(referer-restriction): Add configuration to block requests with m… - #13126
feat(referer-restriction): Add configuration to block requests with m…#13126hachi029 wants to merge 5 commits into
Conversation
…alformed Referer headers
Baoyuantop
left a comment
There was a problem hiding this comment.
It is recommended to add a test case that covers the combination of bypass_malformed: false + bypass_missing: false + malformed Referer to ensure that the interaction behavior of the two configuration items is tested and guaranteed.
Updated the test cases as per your advice. |
|
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions. |
|
Hi @hachi029, could you please merge the latest main branch? |
@Baoyuantop I have merged the latest main branch into this PR. |
|
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions. |
@Baoyuantop I have merged the latest main branch, Could you take another look? |
…alformed Referer headers
Description
Add configuration to block requests with malformed Referer headers
Which issue(s) this PR fixes:
Fixes #13110
Checklist