Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Security.pm to fix #254 #255

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

afhp2018
Copy link

@afhp2018 afhp2018 commented Sep 2, 2024

The security plugin does not check for missing handlers correctly. The error handling code is never reached if there is only one handler in the spec and it is missing in the code.

This patch adds the necessary code path.

@jhthorsen
Copy link
Owner

Thanks for the PR 👍 Can you also add a test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants