mirror of
https://github.com/mosbth/cimage.git
synced 2025-08-08 17:16:34 +02:00
allow space in image filename by default, fix #91
This commit is contained in:
@@ -8,6 +8,7 @@ Revision history
|
|||||||
v0.7.0.x (latest)
|
v0.7.0.x (latest)
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
|
* Allow space in filename by using `urlencode()` and allow space as valid filenam character. fix 91.
|
||||||
* Support redirections for remote images, fix #87, fix #90.
|
* Support redirections for remote images, fix #87, fix #90.
|
||||||
* Improving usage of Travis and Scrutinizer.
|
* Improving usage of Travis and Scrutinizer.
|
||||||
* Naming cache-file using md5 for remote images, fix #86.
|
* Naming cache-file using md5 for remote images, fix #86.
|
||||||
|
@@ -340,7 +340,7 @@ if (isset($shortcut)
|
|||||||
/**
|
/**
|
||||||
* src - the source image file.
|
* src - the source image file.
|
||||||
*/
|
*/
|
||||||
$srcImage = get('src')
|
$srcImage = urldecode(get('src'))
|
||||||
or errorPage('Must set src-attribute.');
|
or errorPage('Must set src-attribute.');
|
||||||
|
|
||||||
// Check for valid/invalid characters
|
// Check for valid/invalid characters
|
||||||
|
@@ -3382,7 +3382,7 @@ if (isset($shortcut)
|
|||||||
/**
|
/**
|
||||||
* src - the source image file.
|
* src - the source image file.
|
||||||
*/
|
*/
|
||||||
$srcImage = get('src')
|
$srcImage = urldecode(get('src'))
|
||||||
or errorPage('Must set src-attribute.');
|
or errorPage('Must set src-attribute.');
|
||||||
|
|
||||||
// Check for valid/invalid characters
|
// Check for valid/invalid characters
|
||||||
|
@@ -3382,7 +3382,7 @@ if (isset($shortcut)
|
|||||||
/**
|
/**
|
||||||
* src - the source image file.
|
* src - the source image file.
|
||||||
*/
|
*/
|
||||||
$srcImage = get('src')
|
$srcImage = urldecode(get('src'))
|
||||||
or errorPage('Must set src-attribute.');
|
or errorPage('Must set src-attribute.');
|
||||||
|
|
||||||
// Check for valid/invalid characters
|
// Check for valid/invalid characters
|
||||||
|
@@ -3382,7 +3382,7 @@ if (isset($shortcut)
|
|||||||
/**
|
/**
|
||||||
* src - the source image file.
|
* src - the source image file.
|
||||||
*/
|
*/
|
||||||
$srcImage = get('src')
|
$srcImage = urldecode(get('src'))
|
||||||
or errorPage('Must set src-attribute.');
|
or errorPage('Must set src-attribute.');
|
||||||
|
|
||||||
// Check for valid/invalid characters
|
// Check for valid/invalid characters
|
||||||
|
Reference in New Issue
Block a user