Graylog2 / graylog-plugin-pipeline-processor

[DEPRECATED] Graylog Pipeline Message Processor Plugins
https://www.graylog.org/
GNU General Public License v3.0
21 stars 14 forks source link

to_url doesn't support accessing parameter which contains dot #207

Open tanapoln opened 7 years ago

tanapoln commented 7 years ago

Problem description

Steps to reproduce the problem

  1. assumed that url is looks like this https://example.com/?query.with=dot
  2. parse url with to_url and assumed that the result is assigned to variable name url
  3. cannot access query.with using url.queryParams.query.with or whether url.queryParams["query.with"]

I'm not sure is there any way to access the field, or do we have to escape the dot.

Environment

Linux