- Issue created by @DavisA
Removing the duplicate "//" lead to Drupal's domain being prefixed which is quite strange, and probably is the reason why quadruple //// is used instead as workaround.
I found the root cause.
MktoForms2.loadForm(host, munchkinId, formId);
The loadForm() expects a host with a "//" preffix as can be seen @ https://developers.marketo.com/rest-api/assets/forms/examples/
Since the backend parses out the "//", it's loaded without "//" preffix.However, `marketo_forms.module` applies it twice and in some odd way makes the form load successfully. However, that is just a workaround that just works due to more broader browser support for invalid URL formatting.
Merge request: https://git.drupalcode.org/project/marketo_forms/-/merge_requests/8