Skip to content

Kibana 7.0.0 URL field formatter doesn't render relative hyperlinks properly #35235

@dougburks

Description

@dougburks

Kibana version:
Kibana 7.0.0 through Kibana 7.5.0

Elasticsearch version:
Elasticsearch 7.0.0 through Elasticsearch 7.5.0

Server OS version:
Ubuntu 16.04

Browser version:
Chromium 73

Browser OS version:
Ubuntu 16.04

Original install method (e.g. download page, yum, from source, etc.):
Docker

Describe the bug:
In Kibana 6.5.4, I can set a URL field formatter on an IP field using a relative hyperlink (no https://servername at the beginning) and it will render the hyperlink properly.

In Kibana 7.0.0 and higher, the same relative hyperlink on an IP field does not render properly. Further testing reveals that relative hyperlinks on string fields do render properly.

Steps to reproduce:

  1. Set a URL field formatter on an IP field to a relative hyperlink. For example: /RelativeHyperlink
  2. View the resulting formatted IP field on a dashboard.
  3. The field will not be hyperlinked and thus not clickable.

Expected behavior:
Kibana 7.0.0 and higher should render the hyperlink properly as previous versions of Kibana did.

Screenshots (if relevant):
Here's a screenshot of Kibana 6.5.4 rendering relative hyperlinks properly:
6 5 4_working_properly

Here's a screenshot of Kibana 7.0.0 rendering those same relative hyperlinks incorrectly:
7 0 0_not_rendering_properly

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugFixes for quality problems that affect the customer experienceregression

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions