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

correct ap_allow_methods() to set method_mask for make_allow() #428

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

Conversation

Maxime2
Copy link

@Maxime2 Maxime2 commented Mar 31, 2024

The make_allow() function in modules/http/http_protocol.c of the current trunk adds methods registered with ap_allow_methods() to the constructed Allow header only if the method_mask field of the allowed_methods structure having M_INVALID flag set. But the ap_allow_methods() doesn't set this flag.

This PR corrects ap_allow_methods() to set methods_mask for make_allow().

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

Successfully merging this pull request may close these issues.

1 participant