Skip to content

Relative links are automatically removed without error message #18

@weber-d

Description

@weber-d

I want to insert a relative link from the hostname of our verse-server. But it seems that our plugin system does a strange "validation" on those link. Using the following extension:

[
  {
    "name": "OnTime-Link",
    "title": "OnTime-Link",
    "description": "Inserts a link",
    "extensions": [
      {
        "ext_id": "gb.testlink",
        "type": "com.ibm.action.link",
        "path": "com.ibm.navbar.order.4000",
        "name": "Testlink",
        "payload": {
          "link": "/OntimeGC/ontimegcweb.nsf"
        },
        "title": "OnTime"
      }
    ],
    "services": ["TopNavigationBar"]
  }
]

I can't see any link. It doesn't even display error messages in the browser console. But if I change "link": "/OntimeGC/ontimegcweb.nsf" to e.g. "link": "https://abc.de/OntimeGC/ontimegcweb.nsf" the link got inserted as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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