• Resolved Luke Cavanagh

    (@lukefiretoss)


    When using version 2.1.3 the CDN hostname will save out as;

    eadn-wc01-693205.nxedge.iocdn

    When it should be;

    eadn-wc01-693205.nxedge.io/cdn

    Rolling back to version 2.1.2 of the W3 Total Cache plugin does not have the issue.

    wp plugin update w3-total-cache --version=2.1.2

    • This topic was modified 5 years ago by Luke Cavanagh. Reason: clarify wording
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @lukefiretoss

    Thank you for your question and I am happy to help!
    Can you share the CDN provider you are using?
    Thanks!

    Thread Starter Luke Cavanagh

    (@lukefiretoss)

    @vmarko

    The CDN provider is Nexcess.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @lukefiretoss

    Thank you for the information.
    I’ve checked this and it appears that the / is missing from the regex.
    Please edit line 370 in /wp-content/plugins/w3-total-cache/Generic_AdminActions_Default.php
    from:
    $cdn_cname = preg_replace( '~[^0-9a-zA-Z.:\-]~', '', strip_tags( $cdn_cname ) );
    to:
    $cdn_cname = preg_replace( '~[^0-9a-zA-Z/.:\-]~', '', strip_tags( $cdn_cname ) );

    This will be fixed in the next release.

    Thank you!

    Thread Starter Luke Cavanagh

    (@lukefiretoss)

    @vmarko

    Thanks for that info. Any idea on when the next release is going to be out?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @lukefiretoss

    The update is usually once a month if there is no critical issues.
    So it should be in about 2 weeks.
    Thanks!

    Thread Starter Luke Cavanagh

    (@lukefiretoss)

    The issue no longer happens in version 2.1.4.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @lukefiretoss

    Thank you for the confirmation.
    As you mentioned we’ve fixed this in the current release.
    Thanks!

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

The topic ‘Generic Mirror replace sites hostname not saving correctly’ is closed to new replies.