Skip to content

[Bug] Parsing URL with hashbang (#!) #133

@lucianocn

Description

@lucianocn

URL Example: https://www.getinapp.com.br/#!/restaurant/sao-paulo/el-tranvia-itaim-bibi


Test 1:

self.router[@"www.getinapp.com.br/:path(.*)"] = ^(DPLDeepLink *link) {
    // Function is called but is not recognizing the PATH (check LOG).
    NSLog(@"%@", link);
};

LOG:

<DPLDeepLink 0x170232600
	 URL: "https://www.getinapp.com.br/#!/restaurant/sao-paulo/el-tranvia-itaim-bibi"
	 queryParameters: "{
}"
	 routeParameters: "{
    path = "";
}"
	 callbackURL: "(null)"
>

Test 2:

self.router[@"www.getinapp.com.br/#!/restaurant/:city(.*)/:restaurant(.*)"] = ^(DPLDeepLink *link) {
   // Function is never called.
};

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