Skip to content

Add show_required_p and csrf_protection_p to valid_arg#10

Open
adrianferenc wants to merge 1 commit intoopenacs:mainfrom
adrianferenc:patch-4
Open

Add show_required_p and csrf_protection_p to valid_arg#10
adrianferenc wants to merge 1 commit intoopenacs:mainfrom
adrianferenc:patch-4

Conversation

@adrianferenc
Copy link
Contributor

Add csrf_protection_p and show_required_p to the exclusion list so they can be specified in the call of a split ad_form. Previously, placing csrf_protection_p in the first call caused key processing to run before edit_request was registered, producing an error in edit mode only. Adding csrf_protection_p in the second call causes the __csrf_token element to never be created in the form, as it was called with -extend.

Add csrf_protection_p and show_required_p to the exclusion list so they can be specified in the call of a split ad_form. Previously, placing csrf_protection_p in the first call caused key processing to run before edit_request was registered, producing an error in edit mode only. Adding csrf_protection_p in the second call causes the __csrf_token element to never be created in the form, as it was called with -extend.
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