• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

System notification: Flood report

evil

Chevereto Member
▶ Reproduction steps
  1. Upload images xD
😢 Unexpected result

There is a bug in "System notification: Flood report" email.

/app/src/Legacy/Classes/Upload.php

if ($is_flood) {
if (getSetting('flood_uploads_notify') && !(session()['flood_uploads_notify'][$flood_by] ?? false)) {
try {
$logged_user = Login::getUser();
$message = strtr('Flooding IP <a href="' . get_public_url('search/images/?q=ip:%ip') . '">%ip</a>', ['%ip' => get_client_ip()]) . '<br>';
if ($logged_user !== []) {
$message .= 'User <a href="' . $logged_user['url'] . '">' . $logged_user['name'] . '</a><br>';
}

📃 Error log message

Wrong user link in email.
It redirect to http:///user_name

User <a href="/user_name">User_name</a>
 
I can confirm the bug and will fix it in the next revision.

Many thanks @evil for bring this to our attention.
 
Back
Top