Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 229
    • Issues 229
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 30
    • Merge Requests 30
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #779

Closed
Open
Opened 57 minutes ago by Mark Harding@markeharding
  • Report abuse
  • New issue
Report abuse New issue

(bug): Video posts do not throw bad domain exception for spammy urls. Exception: Sorry, your post contains a reference to a domain name linked to spam. You can not use short urls...

Steps to reproduce

  • Upload a video
  • Place in a bit.ly url, or other short url
  • Video will not post and not alert given. 500 internal error thrown.

Sentry Output

Sentry Issue: ENGINE-2A

Exception: Sorry, your post contains a reference to a domain name linked to spam. You can not use short urls (eg. bit.ly). Please remove it and try again
  File "/Core/Security/Events.php", line 330, in Minds\Core\Security\Events::onCreateHook
    throw new \Exception('Sorry, your post contains a reference to a domain name linked to spam. You can not use short urls (eg. bit.ly). Please remove it and try again');
  File "[internal]", line 0, in call_user_func_array
  File "/Core/Events/Dispatcher.php", line 131, in Minds\Core\Events\Dispatcher::trigger
    if (call_user_func_array($callback, $args) === false) {
  File "/lib/elgglib.php", line 621, in elgg_trigger_event
    return \Minds\Core\Events\Dispatcher::trigger($event, "elgg/event/$object_type", $object, true);
  File "/classes/ElggEntity.php", line 1067, in ElggEntity::save
    elgg_trigger_event('update', $this->type, $this);
...
(9 additional frame(s) were not displayed)

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Related issues
0

    • Discussion 1
    • Designs 0
    • Mark Harding @markeharding added Priority::1 - High Product::Media Type::Bug scoped labels 56 minutes ago

      added Priority::1 - High Product::Media Type::Bug scoped labels

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply

    The one place for your designs

    Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.

    0 Assignees
    None
    Assign to
    None
    Epic
    None
    None
    Milestone
    None
    Assign milestone
    None
    Time tracking
    No estimate or time spent
    None
    Due date
    None
    3
    Labels
    Priority::1 - High Product::Media Type::Bug
    Assign labels
    • View project labels
    None
    Weight
    None
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    1
    1 participant
    user avatar
    Mark Harding
    Reference: minds/engine#779