Skip to content

URL starting with {param}- #257

Open

Description

@theo744

Hi,
I have an issue with an url starting with {param}-

For example : https://domain.app/7-something
I can't catch it with @deeplink("https://domain.app/{id}-something")

If I change the URL to:
https://domain.app/7/something
I can catch it with @deeplink("https://domain.app/{id}/something")

Why is that ?

Theo

Activity

  1. MichaelEvans commented on Feb 26, 2020

    @MichaelEvans
    Contributor

    Would it be possible to make the entire argument the id? For example:

    @Deeplink("https://domain.app/{id}")
    

    And then parse the id for the part you're interested in before the -something?

  2. theo744 commented on Feb 28, 2020

    @theo744
    Author

    Yes, it would probably work. The problem is that I already have other links handled successfully with @deeplink, so I would have to parse all my other links with the global {id}, that's quiet a lot of work...

    Do you know what is the matter with {id}-something ? It seems related to the '-' character but I don't know...

    Théo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions