Plugin Directory

Changeset 3290531


Ignore:
Timestamp:
05/09/2025 02:00:33 PM (9 months ago)
Author:
jumptech
Message:

Update to version 1.1.7--beta-3 from GitHub

Location:
avacy
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • avacy/tags/1.1.7--beta-3/avacy.php

    r3287662 r3290531  
    44Plugin URI:   https://avacysolution.com/
    55Description:  Avacy's compliance plugin offers an all-in-one, easy solution for a GDPR compliant website, with features verified by experienced lawyers.
    6 Version:      1.1.6
     6Version:      1.1.7
    77Contributors: jumptech
    88Author: Jump Group
     
    1111Tested up to: 6.7
    1212PHP: 7.4
    13 Stable tag: 1.1.6
     13Stable tag: 1.1.7
    1414License: GPL-2.0-or-later
    1515License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • avacy/tags/1.1.7--beta-3/changelog.md

    r3287904 r3290531  
    66Requires at least: 4.9
    77Tested up to: 6.7
    8 Stable tag: 1.1.5
     8Stable tag: 1.1.7
    99License: GPL-2.0-or-later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111
    1212## Changelog
     13
     14### 1.1.7
     15
     16Fix fatal error when loading HTML in buffer
    1317
    1418### 1.1.6
  • avacy/tags/1.1.7--beta-3/readme.md

    r3287662 r3290531  
    66Requires at least: 4.9
    77Tested up to: 6.7
    8 Stable tag: 1.1.6
     8Stable tag: 1.1.7
    99License: GPL-2.0-or-later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • avacy/tags/1.1.7--beta-3/src/PreemptiveBlock.php

    r3290429 r3290531  
    5858        libxml_use_internal_errors(true);
    5959   
    60         // Escape ampersands not part of entities
    61         $buffer = preg_replace('/&(?![a-zA-Z0-9#]+;)/', '&', $buffer);
    62    
    63         $dom = new DOMDocument();
    64         $dom->loadHTML($buffer, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);
    65    
    6660        if (!empty($buffer)) {
     61             // Escape ampersands not part of entities
     62            $buffer = preg_replace('/&(?![a-zA-Z0-9#]+;)/', '&', $buffer);
     63       
     64            $dom = new DOMDocument();
     65            $dom->loadHTML($buffer, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);
     66
    6767            $scripts = $dom->getElementsByTagName('script');
    6868            foreach($scripts as $script) {
     
    8080                }
    8181            }
     82        }else {
     83            return $buffer;
    8284        }
    8385   
  • avacy/trunk/avacy.php

    r3287662 r3290531  
    44Plugin URI:   https://avacysolution.com/
    55Description:  Avacy's compliance plugin offers an all-in-one, easy solution for a GDPR compliant website, with features verified by experienced lawyers.
    6 Version:      1.1.6
     6Version:      1.1.7
    77Contributors: jumptech
    88Author: Jump Group
     
    1111Tested up to: 6.7
    1212PHP: 7.4
    13 Stable tag: 1.1.6
     13Stable tag: 1.1.7
    1414License: GPL-2.0-or-later
    1515License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • avacy/trunk/changelog.md

    r3287904 r3290531  
    66Requires at least: 4.9
    77Tested up to: 6.7
    8 Stable tag: 1.1.5
     8Stable tag: 1.1.7
    99License: GPL-2.0-or-later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111
    1212## Changelog
     13
     14### 1.1.7
     15
     16Fix fatal error when loading HTML in buffer
    1317
    1418### 1.1.6
  • avacy/trunk/readme.md

    r3287662 r3290531  
    66Requires at least: 4.9
    77Tested up to: 6.7
    8 Stable tag: 1.1.6
     8Stable tag: 1.1.7
    99License: GPL-2.0-or-later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • avacy/trunk/src/PreemptiveBlock.php

    r3290429 r3290531  
    5858        libxml_use_internal_errors(true);
    5959   
    60         // Escape ampersands not part of entities
    61         $buffer = preg_replace('/&(?![a-zA-Z0-9#]+;)/', '&', $buffer);
    62    
    63         $dom = new DOMDocument();
    64         $dom->loadHTML($buffer, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);
    65    
    6660        if (!empty($buffer)) {
     61             // Escape ampersands not part of entities
     62            $buffer = preg_replace('/&(?![a-zA-Z0-9#]+;)/', '&', $buffer);
     63       
     64            $dom = new DOMDocument();
     65            $dom->loadHTML($buffer, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);
     66
    6767            $scripts = $dom->getElementsByTagName('script');
    6868            foreach($scripts as $script) {
     
    8080                }
    8181            }
     82        }else {
     83            return $buffer;
    8284        }
    8385   
Note: See TracChangeset for help on using the changeset viewer.