Details
-
Bug
-
Status: Resolved (View Workflow)
-
Medium
-
Resolution: Fixed
-
28.0.0
-
Security Level: Default (Default Security Scheme)
-
Horizon 2021 - Sep 15 - 29
-
Description
Events whose description contains a URL with arguments that themselves contain URL-encoded characters, have that URL truncated in an unexpected way.
This does not affect event parameters, and does not respect CDATA tags in the event description.
Steps to reproduce:
1. Send an event, via eventd XML or ReST:
send-event.pl uei.opennms.org/test/badUrlEvent -x 4 -d 'Test URL https://www.opennms.org/ReportSection?filter=FOO_BAR_BAZ%20eq%20%27101%27' -p 'testUrl https://www.opennms.org/ReportSection?filter=FOO_BAR_BAZ%20eq%20%27101%27'
2. Find the event in the OpenNMS web UI, and compare the Description field to what was sent.
3. Find the events.eventdescr and event_parameters.value in the OpenNMS database, and compare them with each other and with what was sent.
Expected result:
The full URL should appear in the event description, both in the web UI and in the database
Actual result:
The URL is truncated in the event description in both the web UI and the database, but the event parameter's value is not truncated.
The truncated form is https://www.opennms.org/ReportSection?filter=FOO_BAR_BAZ2027.
Attachments
Issue Links
- mentioned in
-
Page Loading...