Skip to content

Question to the removal of source editing from the agent interface #850

Description

@tipue-dev

Hi,

Was the removal of source editing from the agent interface intentional? If so, would you be open to making it possible to enable it again through SysConfig? I would be happy to contribute a PR to make the agent toolbar configurable, if that approach would be welcome.

I’m referring to commit 382201d. The description specifically mentions disabling source view in the customer frontend, but the diff also removes sourceEditing from the agent toolbars in SetRichTextParameters.

Source editing is useful for some of our customers in the agent interface. I agree that the customer frontend generally does not need this feature. Since the commit description only mentions the customer side, could you clarify whether the removal on the agent side was also intended?

I’m also interested in the specific security reasoning behind this change. Removing the toolbar button does not prevent users from submitting arbitrary HTML through modified requests. The safe rendering should be and is there on the server side.

What additional protection does removing source view provide here? Does it address a specific execution path within the editor itself, or is it intended as an additional precaution against users inadvertently inserting unsafe content? Any context you can share publicly would be appreciated.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

2 - clarificationThe issue or pull requests needs more information.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions