Skip to content

Wrong short URL affected when short code matches with and without domain #179

@MarcHagen

Description

@MarcHagen

Shlink web client version

  • Version: 2.2.2
  • How do you use shlink-web-client: app.shlink.io + Docker image

Summary

When creating a custom shortcode with a custom domain it is listed in the list.
But the visit stats button doesn't work, and it cannot be edited or deleted.

Current behavior

Stats for http://custom.com/linkedin is showing stats for http://defaultdomain.com/linkedin
The Visit stats button redirect to https://app.shlink.io/server/SNIP/short-code/linkedin/visits

Expected behavior

Seeing the stats for the custom.com/linkedin

How to reproduce

Create a custom shortcode for the default domain.
Then create a the same shortcode for a custom domain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions