mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 04:41:53 +02:00
Added 'base64' option to allow for embedded image src. (useful when including avatars in email signatures)
Added test for toAvatar() method. Cleaned up & when found in URL by getRemoteContent()
This commit is contained in:
@@ -646,7 +646,10 @@ class e_file
|
||||
// $mes = e107::getMessage();
|
||||
|
||||
$address = str_replace(array("\r", "\n", "\t"), '', $address); // May be paranoia, but streaky thought it might be a good idea
|
||||
// ... and there shouldn't be unprintable characters in the URL anyway
|
||||
|
||||
$address = str_replace('&', '&', $address);
|
||||
|
||||
// ... and there shouldn't be unprintable characters in the URL anyway
|
||||
$requireCurl = false;
|
||||
|
||||
if(vartrue($options['decode'], false)) $address = urldecode($address);
|
||||
|
Reference in New Issue
Block a user