Official WooCommerce Plugin for DOKU. Visit https://jokul.doku.com for more information about the product and https://jokul.doku.com/docs for the technical documentation.
6
stars
8
forks
source link
Fixed Request-Target for notification signature generation #2
I added these line of code to get the site URL first then I parse the URL to get the path, after that I make a simple logic to check whether the site URL containing any path or not.
If there is a path, then it should be appended to the Request-Target.
I added these line of code to get the site URL first then I parse the URL to get the path, after that I make a simple logic to check whether the site URL containing any path or not.
If there is a path, then it should be appended to the
Request-Target
.Reference: https://developer.wordpress.org/reference/functions/get_site_url/