Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

isPath fails on hashes containing slashes #8542

Open
@velosipedist

Description

@velosipedist

If i try to

// i am on mydomain.com
$.mobile.navigate('#hash') // leads to mydomain.com#hash

it works fine.

But if i try to

// i am on mydomain.com
$.mobile.navigate('#hash/path') // leads to mydomain.com/hash/path instead of mydomain.com#hash/path

i get to subdir instead.

It caused by invalid isPath() check here.

I'm going to send PR in near future if my expectations described above make sense.

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