Skip to content

Commit 2944013

Browse files
committed
System: v27 final commit (final take)
1 parent 8355667 commit 2944013

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Services/Format.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -965,13 +965,13 @@ public static function photo($path, $size = 75, $class = 'inline-block shadow bg
965965

966966
$path = (string) $path;
967967
if (preg_match('/^http[s]*/', $path)) {
968-
return sprintf('<img class="%1$s" src="%2$s">', $class, rawurlencode($path));
968+
return sprintf('<img class="%1$s" src="%2$s">', $class, $path);
969969
} else {
970970
if (empty($path) or file_exists(static::$settings['absolutePath'].'/'.$path) == false) {
971971
$path = '/themes/'.static::$settings['gibbonThemeName'].'/img/anonymous_240_square.jpg';
972972
}
973973

974-
return sprintf('<img class="%1$s" src="%2$s">', $class, static::$settings['absoluteURL'].'/'.rawurlencode($path));
974+
return sprintf('<img class="%1$s" src="%2$s">', $class, static::$settings['absoluteURL'].'/'.$path);
975975
}
976976
}
977977

@@ -1017,7 +1017,7 @@ public static function userPhoto($path, $size = 75, $class = '')
10171017
$path = '/themes/'.static::$settings['gibbonThemeName'].'/img/anonymous_'.$imageSize.'.jpg';
10181018
}
10191019

1020-
return sprintf('<img class="%1$s" src="%2$s">', $class, static::$settings['absoluteURL'].'/'.rawurlencode($path));
1020+
return sprintf('<img class="%1$s" src="%2$s">', $class, static::$settings['absoluteURL'].'/'.$path);
10211021
}
10221022

10231023
/**

0 commit comments

Comments
 (0)