graylog-plugin-pipeline-processor icon indicating copy to clipboard operation
graylog-plugin-pipeline-processor copied to clipboard

to_url doesn't support accessing parameter which contains dot

Open tanapoln opened this issue 8 years ago • 0 comments

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

  • Graylog Version: 2.2.2
  • Pipeline Processor plugin version: any version
  • Elasticsearch Version:
  • MongoDB Version:
  • Operating System:
  • Browser version:

tanapoln avatar Aug 11 '17 10:08 tanapoln