Changeset 1954601
- Timestamp:
- 10/10/2018 02:57:35 PM (7 years ago)
- Location:
- thrivehive/trunk
- Files:
-
- 3 edited
-
README.md (modified) (1 diff)
-
controllers/changeling.php (modified) (1 diff)
-
thrivehive.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
thrivehive/trunk/README.md
r1953283 r1954601 90 90 91 91 ## Changelog 92 * V 2.3.1 Remove slashes and ensure correct character encoding for saved CSS 92 93 * V 2.3 Added ability to login using params 93 94 * V 2.201 Bugfix for newly spun up Changeling sites data not loading -
thrivehive/trunk/controllers/changeling.php
r1951087 r1954601 86 86 $compiled_bootstrap_sourcemap_file_location = $changeling_css_dir .'/theme-user-custom.css.map'; 87 87 88 $css = $_REQUEST['css']; 89 $minified = $_REQUEST['minified']; 90 $map = $_REQUEST['sourceMap']; 88 // Add BOM (byte order mark) to correct interpretation of files as UTF-8, necessary for Font Awesome glyphs 89 // Also remove slashes added to escape quotes when CSS was sent as JSON 90 // See https://stackoverflow.com/a/9047876 91 $utf8Bom = "\xEF\xBB\xBF"; 92 $css = $utf8Bom . stripslashes($_REQUEST['css']); 93 $minified = $utf8Bom . stripslashes($_REQUEST['minified']); 94 $map = $utf8Bom . stripslashes($_REQUEST['sourceMap']); 91 95 92 96 if (!file_exists($changeling_css_dir)) { -
thrivehive/trunk/thrivehive.php
r1953283 r1954601 5 5 *Plugin URI: http://thrivehive.com 6 6 *Description: A plugin to include ThriveHive's tracking code 7 *Version: 2.3 7 *Version: 2.3.1 8 8 *Author: ThriveHive 9 9 *Author URI: http://thrivehive.com
Note: See TracChangeset
for help on using the changeset viewer.