Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed event message in Publisher #2611

Closed
Limraj opened this issue Jul 11, 2023 · 0 comments
Closed

Fixed event message in Publisher #2611

Limraj opened this issue Jul 11, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@Limraj
Copy link
Collaborator

Limraj commented Jul 11, 2023

Description
If there are html/script tags in the event message, then scripts from the message are executed. Event messages should be encoded.

To Reproduce

  1. Login as admin;
  2. Create Virtual Data Source as ds_1 (enable, update: 1s), and Virtual Data Point as dp_1 (numeric, random, settable, enable);
  3. Go to 'Publishers';
  4. Select 'Http Sender' and click on 'Add';
  5. Set name 'pub_1', and url: 'http://google.pl/', check 'Raise result warning';
  6. Select 'ds_1 - dp_1' in 'Points' and click on 'Add', and click on 'Save';
  7. Go to 'Publishers', and enable 'pub_1';
  8. Click edit 'pub_1' -> error
    error

Spec:

  • Scada-LTS Version <=2.7.5.3
@Limraj Limraj added the bug label Jul 11, 2023
@Limraj Limraj added this to the 2.7.5.4 milestone Jul 11, 2023
Limraj added a commit that referenced this issue Jul 11, 2023
@Limraj Limraj self-assigned this Jul 11, 2023
Limraj added a commit that referenced this issue Jul 11, 2023
…_in_Publisher

#2611 Fixed event message in Publisher -
@Limraj Limraj closed this as completed Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant