• Resolved gRoberts1984

    (@groberts1984)


    Hi there,

    Is there a way to either whitelist or disable the URL Options functionality within javascript files?

    Everything else works great, but a number of external URL’s within my javascript are being rewritten from https:// to //, which failed as the third party requires HTTPS.

    The only solution at the moment is to use ‘http’ + ‘s://test.com’

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Raul P.

    (@alignak)

    I have done a rollback on 2.2.8 with some minor bug fixes only, and will be looking at the other issues at a later time. Sorry and please update.

    Rewriting to // should work the same as https, provided your site is already on https too. What // does, is to link to the same protocol your site uses.

    On 2.2.8, try to force https on the plugin settings and purge the cache.

    Thread Starter gRoberts1984

    (@groberts1984)

    Hey Raul,

    Just to clarify, I don’t want FVM to replace some protocols, as the protocol I am on, will be http:// however the resources I am using can only use https://.

    As previously noted, I have got around this for now by using ‘http’ + ‘s://test.com’

    Thanks

    Gavin

    Plugin Author Raul P.

    (@alignak)

    @groberts1984 thanks for the feedback.

    Currently the plugin will either force //, http or https, according to your settings. This has been done to compensate for sites that migrated to SSL but often incomplete, so to avoid mixed content warnings.

    I’ll add an option to prevent that url rewriting as an option, for a future update.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Disable protocol replacement within javascript files’ is closed to new replies.