Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2026 at 10:07 UTC
Updated:
20 Aug 2026 at 10:32 UTC
Jump to comment: Most recent
Two hook implementations in myrest.module change the behaviour of the whole site rather than of this module's endpoints.
myrest_mail_alter() replaces $message['body'][0] of every contact message with key page_mail. A site that uses the core contact form for anything — a support address, an editorial workflow — silently loses the body of its mail and gets this module's sentence instead. Nothing in the interface says so.myrest_toolbar_alter() attaches a library to $items['admin_toolbar_tools'] without checking that the key exists. Without the admin_toolbar_tools module it creates a toolbar item consisting of nothing but an attachment.Everything. Found while auditing what the module changes outside its own endpoints.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented