Plugin Directory

Changeset 1970820


Ignore:
Timestamp:
11/08/2018 10:02:07 AM (7 years ago)
Author:
trulywpsupport
Message:

Bug in trailing slash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trulywp-cdn/trunk/inc/trulywp_cdn.class.php

    r1966935 r1970820  
    153153        error_log($dashboard_url);
    154154
    155         $url = $dashboard_url."purge_cdn";
     155
     156        $dashboard_url = rtrim($dashboard_url, '/');
     157        $url = $dashboard_url."/purge_cdn";
    156158
    157159        $params = new stdClass();
Note: See TracChangeset for help on using the changeset viewer.