Changeset 3290531
- Timestamp:
- 05/09/2025 02:00:33 PM (9 months ago)
- Location:
- avacy
- Files:
-
- 8 edited
- 1 copied
-
tags/1.1.7--beta-3 (copied) (copied from avacy/trunk)
-
tags/1.1.7--beta-3/avacy.php (modified) (2 diffs)
-
tags/1.1.7--beta-3/changelog.md (modified) (1 diff)
-
tags/1.1.7--beta-3/readme.md (modified) (1 diff)
-
tags/1.1.7--beta-3/src/PreemptiveBlock.php (modified) (2 diffs)
-
trunk/avacy.php (modified) (2 diffs)
-
trunk/changelog.md (modified) (1 diff)
-
trunk/readme.md (modified) (1 diff)
-
trunk/src/PreemptiveBlock.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
avacy/tags/1.1.7--beta-3/avacy.php
r3287662 r3290531 4 4 Plugin URI: https://avacysolution.com/ 5 5 Description: 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. 66 Version: 1.1.7 7 7 Contributors: jumptech 8 8 Author: Jump Group … … 11 11 Tested up to: 6.7 12 12 PHP: 7.4 13 Stable tag: 1.1. 613 Stable tag: 1.1.7 14 14 License: GPL-2.0-or-later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
avacy/tags/1.1.7--beta-3/changelog.md
r3287904 r3290531 6 6 Requires at least: 4.9 7 7 Tested up to: 6.7 8 Stable tag: 1.1. 58 Stable tag: 1.1.7 9 9 License: GPL-2.0-or-later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 11 12 12 ## Changelog 13 14 ### 1.1.7 15 16 Fix fatal error when loading HTML in buffer 13 17 14 18 ### 1.1.6 -
avacy/tags/1.1.7--beta-3/readme.md
r3287662 r3290531 6 6 Requires at least: 4.9 7 7 Tested up to: 6.7 8 Stable tag: 1.1. 68 Stable tag: 1.1.7 9 9 License: GPL-2.0-or-later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
avacy/tags/1.1.7--beta-3/src/PreemptiveBlock.php
r3290429 r3290531 58 58 libxml_use_internal_errors(true); 59 59 60 // Escape ampersands not part of entities61 $buffer = preg_replace('/&(?![a-zA-Z0-9#]+;)/', '&', $buffer);62 63 $dom = new DOMDocument();64 $dom->loadHTML($buffer, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);65 66 60 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 67 67 $scripts = $dom->getElementsByTagName('script'); 68 68 foreach($scripts as $script) { … … 80 80 } 81 81 } 82 }else { 83 return $buffer; 82 84 } 83 85 -
avacy/trunk/avacy.php
r3287662 r3290531 4 4 Plugin URI: https://avacysolution.com/ 5 5 Description: 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. 66 Version: 1.1.7 7 7 Contributors: jumptech 8 8 Author: Jump Group … … 11 11 Tested up to: 6.7 12 12 PHP: 7.4 13 Stable tag: 1.1. 613 Stable tag: 1.1.7 14 14 License: GPL-2.0-or-later 15 15 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
avacy/trunk/changelog.md
r3287904 r3290531 6 6 Requires at least: 4.9 7 7 Tested up to: 6.7 8 Stable tag: 1.1. 58 Stable tag: 1.1.7 9 9 License: GPL-2.0-or-later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html 11 11 12 12 ## Changelog 13 14 ### 1.1.7 15 16 Fix fatal error when loading HTML in buffer 13 17 14 18 ### 1.1.6 -
avacy/trunk/readme.md
r3287662 r3290531 6 6 Requires at least: 4.9 7 7 Tested up to: 6.7 8 Stable tag: 1.1. 68 Stable tag: 1.1.7 9 9 License: GPL-2.0-or-later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
avacy/trunk/src/PreemptiveBlock.php
r3290429 r3290531 58 58 libxml_use_internal_errors(true); 59 59 60 // Escape ampersands not part of entities61 $buffer = preg_replace('/&(?![a-zA-Z0-9#]+;)/', '&', $buffer);62 63 $dom = new DOMDocument();64 $dom->loadHTML($buffer, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);65 66 60 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 67 67 $scripts = $dom->getElementsByTagName('script'); 68 68 foreach($scripts as $script) { … … 80 80 } 81 81 } 82 }else { 83 return $buffer; 82 84 } 83 85
Note: See TracChangeset
for help on using the changeset viewer.