Please use esc_url_raw instead of esc_url before wp_remote_post.
-
Often, build triggers will require multiple token parameters in the POST url. For example, AWS Amplify build triggers require this.
The plugin action callsesc_url
on the stored hook url before it is passed towp_remote_post
in /inc/admin/class.ztbtfg.admin.action.php. Unfortunately, this means that any ampersands in the hook rule are converted, which breaks the parameters being sent. This is good and safe for display, but ampersands should be allowed in POST calls.Can you please replace the two escape calls in this file with
esc_url_raw
? This will safely escape and also allow ampersands in the POST call.https://developer.www.ads-software.com/reference/functions/esc_url_raw/
Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Please use esc_url_raw instead of esc_url before wp_remote_post.’ is closed to new replies.