Description

Ajax module, containing a workaround for errors when including protocols in URLs.

Details

Methods


<static> applyProtocolWorkaround()

Automatically applies a workaround to any URLs accessed via Ajax.

Description

Automatically applies a workaround to any URLs accessed via Ajax.

The problem is caused by a misconfigured CROS proxy which fails for any URLs containing a protocol (https:// or http://). The workaround removes the protocol and uses the port instead (none for HTTPS, 80 for HTTP).

Details