Skip to content
Permalink
Browse files Browse the repository at this point in the history
Correct XSS injection in check_system.php.
  • Loading branch information
mosbth committed Aug 31, 2016
1 parent f0ab947 commit 401478c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion REVISION.md
Expand Up @@ -5,9 +5,10 @@ Revision history
[![Build Status](https://scrutinizer-ci.com/g/mosbth/cimage/badges/build.png?b=master)](https://scrutinizer-ci.com/g/mosbth/cimage/build-status/master)


v0.7.19* (2016-08-11)
v0.7.19* (2016-08-31)
-------------------------------------

* Correct XSS injection in `check_system.php`.
* Composer suggests ext-imagick and ext-curl.


Expand Down
2 changes: 1 addition & 1 deletion webroot/check_system.php
Expand Up @@ -2,7 +2,7 @@

echo 'Current PHP version: ' . phpversion() . '<br><br>';

echo 'Running on: ' . $_SERVER['SERVER_SOFTWARE'] . '<br><br>';
echo 'Running on: ' . htmlentities($_SERVER['SERVER_SOFTWARE']) . '<br><br>';

$no = extension_loaded('exif') ? null : 'NOT';
echo "Extension exif is $no loaded.<br>";
Expand Down

0 comments on commit 401478c

Please sign in to comment.