diff options
author | Klap-in <klapinklapin@gmail.com> | 2013-05-21 21:40:37 +0200 |
---|---|---|
committer | Klap-in <klapinklapin@gmail.com> | 2013-05-21 21:40:37 +0200 |
commit | d572baf83c5a6d61a7f97aa4d115eba76c5f106c (patch) | |
tree | b818295227c28300119817091aace83beec1fd0e /lib/exe/fetch.php | |
parent | ba9015b07d229ba195e7a9a3f23c3b038374c88c (diff) | |
download | rpg-d572baf83c5a6d61a7f97aa4d115eba76c5f106c.tar.gz rpg-d572baf83c5a6d61a7f97aa4d115eba76c5f106c.tar.bz2 |
Add check for token when resizing and caching external images
Diffstat (limited to 'lib/exe/fetch.php')
-rw-r--r-- | lib/exe/fetch.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php index 7a2250373..5967494bf 100644 --- a/lib/exe/fetch.php +++ b/lib/exe/fetch.php @@ -60,6 +60,7 @@ if (defined('SIMPLE_TEST')) { if($evt->advise_before()) { // redirects if($data['status'] > 300 && $data['status'] <= 304) { + if (defined('SIMPLE_TEST')) return; //TestResponse doesn't recognize redirects send_redirect($data['statusmessage']); } // send any non 200 status |