If pictures have names with character '&', e.g: 'xxx&xxx.jpg', we can't get thumbnails for them.
The problem is in 'i.php', row 167:
if ($pos=strpos($req, '&'))
{
$req = substr($req, 0, $pos);
}
This code will cut the picture's link before '&', and cause error: 'Missing -';
suggest solution:
change the code to:
if ($pos=strrpos($req, '&b='))
{
$req = substr($req, 0, $pos);
}
if ($pos=strrpos($req, '&ajaxload='))
{
$req = substr($req, 0, $pos);
}
If pictures have names with character '&', e.g: 'xxx&xxx.jpg', we can't get thumbnails for them.
The problem is in 'i.php', row 167:
> if ($pos=strpos($req, '&'))
> {
> $req = substr($req, 0, $pos);
> }
This code will cut the picture's link before '&', and cause error: 'Missing -';
**suggest solution:**
change the code to:
> if ($pos=strrpos($req, '&b='))
> {
> $req = substr($req, 0, $pos);
> }
> if ($pos=strrpos($req, '&ajaxload='))
> {
> $req = substr($req, 0, $pos);
> }
<!-- github-sync-id:1118040348 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
If pictures have names with character '&', e.g: 'xxx&xxx.jpg', we can't get thumbnails for them.
The problem is in 'i.php', row 167:
This code will cut the picture's link before '&', and cause error: 'Missing -';
suggest solution:
change the code to: