Skip to content

replaceState removes first character of hash (#) when it contains dot "." #477

@romangazarek

Description

@romangazarek

Go to this demo URL:
http://browserstate.github.io/history.js/demo/#hash.with.dots

it is modified to:
http://browserstate.github.io/history.js/demo/hash.with.dots

Line of code:

History.replaceState(currentState.data, currentState.title, currentState.url, false);

Third argument currentState.url contains bad URL

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