Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author luckychingi

    (@luckychingi)

    Hello @shamank

    Can you upgrade the plugin and lmk if this issue still exists?

    Thread Starter shamank

    (@shamank)

    Hi! Thank you for your fast answer. There’s a new issue now. The plugin stopped working with the error message “Domain name does not match the actual domain”. It is because:

    
    admin/class-aws-cdn-admin.php:
    1019         $domain = sanitize_text_field($REQUEST['domain']);
    

    And it’s empty, since the request you are sending is:

    
    action: wpaac_list_cdn
    wpaval[domain]: ***
    wpaval[accessid]: ***
    wpaval[secretkey]: ***
    

    So this fails:

    
    1060         if($check == "checkaws")
    1061         {
    1062         if($domain != $this->wpawscdndomain)
    1063         {
    1064         echo "<div class='alert alert-danger'>Domain name does not match the actual domain</div>";
    1065         wp_die();
    1066         }
    
    • This reply was modified 2 years, 9 months ago by shamank.
    Thread Starter shamank

    (@shamank)

    Well, it started to work. Cache maybe? I had an old version, which failed to upgrade, so I manually removed it and then installed the new version. Something weird in the middle… But it is unrelated to the other issue, so I’ll check it in a while. Thanks!

    Thread Starter shamank

    (@shamank)

    Just in case, updating the plugin fixed the issue of the form. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin is replacing form action with CDN URL on a password protected page’ is closed to new replies.