Safe SVG - Version 1.3.1

Version Description

  • Updated underlying library version
Download this release

Release Info

Developer enshrined
Plugin Icon 128x128 Safe SVG
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3.0 to 1.3.1

lib/composer.lock CHANGED
@@ -9,16 +9,16 @@
9
  "packages": [
10
  {
11
  "name": "enshrined/svg-sanitize",
12
- "version": "0.4.0",
13
  "source": {
14
  "type": "git",
15
  "url": "https://github.com/darylldoyle/svg-sanitizer.git",
16
- "reference": "ffd63a4b9982f4d5795fe8a38337ab990f73698b"
17
  },
18
  "dist": {
19
  "type": "zip",
20
- "url": "https://api.github.com/repos/darylldoyle/svg-sanitizer/zipball/ffd63a4b9982f4d5795fe8a38337ab990f73698b",
21
- "reference": "ffd63a4b9982f4d5795fe8a38337ab990f73698b",
22
  "shasum": ""
23
  },
24
  "require-dev": {
@@ -42,7 +42,7 @@
42
  }
43
  ],
44
  "description": "An SVG sanitizer for PHP",
45
- "time": "2016-10-10 13:57:42"
46
  }
47
  ],
48
  "packages-dev": [],
9
  "packages": [
10
  {
11
  "name": "enshrined/svg-sanitize",
12
+ "version": "0.4.1",
13
  "source": {
14
  "type": "git",
15
  "url": "https://github.com/darylldoyle/svg-sanitizer.git",
16
+ "reference": "7a1e99504b54698607f039b4384f626d13222aeb"
17
  },
18
  "dist": {
19
  "type": "zip",
20
+ "url": "https://api.github.com/repos/darylldoyle/svg-sanitizer/zipball/7a1e99504b54698607f039b4384f626d13222aeb",
21
+ "reference": "7a1e99504b54698607f039b4384f626d13222aeb",
22
  "shasum": ""
23
  },
24
  "require-dev": {
42
  }
43
  ],
44
  "description": "An SVG sanitizer for PHP",
45
+ "time": "2016-12-01 23:15:52"
46
  }
47
  ],
48
  "packages-dev": [],
lib/vendor/composer/installed.json CHANGED
@@ -1,24 +1,24 @@
1
  [
2
  {
3
  "name": "enshrined/svg-sanitize",
4
- "version": "0.4.0",
5
- "version_normalized": "0.4.0.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/darylldoyle/svg-sanitizer.git",
9
- "reference": "ffd63a4b9982f4d5795fe8a38337ab990f73698b"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/darylldoyle/svg-sanitizer/zipball/ffd63a4b9982f4d5795fe8a38337ab990f73698b",
14
- "reference": "ffd63a4b9982f4d5795fe8a38337ab990f73698b",
15
  "shasum": ""
16
  },
17
  "require-dev": {
18
  "codeclimate/php-test-reporter": "^0.1.2",
19
  "phpunit/phpunit": "^4.7"
20
  },
21
- "time": "2016-10-10 13:57:42",
22
  "type": "library",
23
  "installation-source": "dist",
24
  "autoload": {
1
  [
2
  {
3
  "name": "enshrined/svg-sanitize",
4
+ "version": "0.4.1",
5
+ "version_normalized": "0.4.1.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/darylldoyle/svg-sanitizer.git",
9
+ "reference": "7a1e99504b54698607f039b4384f626d13222aeb"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/darylldoyle/svg-sanitizer/zipball/7a1e99504b54698607f039b4384f626d13222aeb",
14
+ "reference": "7a1e99504b54698607f039b4384f626d13222aeb",
15
  "shasum": ""
16
  },
17
  "require-dev": {
18
  "codeclimate/php-test-reporter": "^0.1.2",
19
  "phpunit/phpunit": "^4.7"
20
  },
21
+ "time": "2016-12-01 23:15:52",
22
  "type": "library",
23
  "installation-source": "dist",
24
  "autoload": {
lib/vendor/enshrined/svg-sanitize/src/data/AllowedAttributes.php CHANGED
@@ -44,7 +44,7 @@ class AllowedAttributes implements AttributeInterface
44
  'font-weight','image-rendering','in','in2','k1','k2','k3','k4','kerning',
45
  'letter-spacing','lighting-color','local','marker-end','marker-mid',
46
  'marker-start','max','mask','mode','min','offset','operator','opacity',
47
- 'order','overflow','paint-order','path','points','r','rx','ry','radius',
48
  'restart','scale','seed','shape-rendering','stop-color','stop-opacity',
49
  'stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin',
50
  'stroke-miterlimit','stroke-opacity','stroke','stroke-width','transform',
44
  'font-weight','image-rendering','in','in2','k1','k2','k3','k4','kerning',
45
  'letter-spacing','lighting-color','local','marker-end','marker-mid',
46
  'marker-start','max','mask','mode','min','offset','operator','opacity',
47
+ 'order','orient','overflow','paint-order','path','points','r','rx','ry','radius',
48
  'restart','scale','seed','shape-rendering','stop-color','stop-opacity',
49
  'stroke-dasharray','stroke-dashoffset','stroke-linecap','stroke-linejoin',
50
  'stroke-miterlimit','stroke-opacity','stroke','stroke-width','transform',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://enshrined.co.uk
4
  Tags: svg, sanitize, uploads, sanitise, security, svg upload
5
  Requires at least: 4.0
6
  Tested up to: 4.6.1
7
- Stable tag: 1.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -40,3 +40,6 @@ Install through the WordPress directory or download, unzip and upload the files
40
 
41
  = 1.3.0 =
42
  * Minify SVGs after cleaning so they can be loaded correctly through file_get_contents
 
 
 
4
  Tags: svg, sanitize, uploads, sanitise, security, svg upload
5
  Requires at least: 4.0
6
  Tested up to: 4.6.1
7
+ Stable tag: 1.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
40
 
41
  = 1.3.0 =
42
  * Minify SVGs after cleaning so they can be loaded correctly through file_get_contents
43
+
44
+ = 1.3.1 =
45
+ * Updated underlying library version
safe-svg.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Safe SVG
4
  Plugin URI: https://wordpress.org/plugins/safe-svg/
5
  Description: Allows SVG uploads into Wordpress and sanitizes the SVG before saving it
6
- Version: 1.3.0
7
  Author: Daryll Doyle
8
  Author URI: http://enshrined.co.uk
9
  Text Domain: safe-svg
3
  Plugin Name: Safe SVG
4
  Plugin URI: https://wordpress.org/plugins/safe-svg/
5
  Description: Allows SVG uploads into Wordpress and sanitizes the SVG before saving it
6
+ Version: 1.3.1
7
  Author: Daryll Doyle
8
  Author URI: http://enshrined.co.uk
9
  Text Domain: safe-svg