Is there reason why the consent form sends a POST request to the current uri 'action' => ee()->functions->fetch_current_uri(), instead of to an ACT= endpoint? One of our sites has a bit of a complex url setup and on one template group current_uri doesn’t match the visible page URL, and instead gives a 404 error.
sorry, meant to post in the thread…
{exp:consent:form consent="ee:cookies\_functionality|ee:cookies\_performance" form_id='cookieConsentForm'} {consents}<input type=”hidden” name=”\{consent\_short\_name\}” value=”n”>{/consents} <h4 [removed]>Cookie Policy</h4> Clicking ‘Accept All Cookies’ means you agree to our cookie use and data sharing as described in our ]privacy policy under ‘Cookies and Tracking Technologies’. <input class=”btn btn-sm btn-primary” type=”submit” name=”submit” value=”Accept All Cookies”> <input class=”btn btn-sm btn-primary” type=”submit” name=”submit” value=”Necessary Cookies Only”> <small> ]Manage cookie options</small> {/exp:consent:form}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.