Skip to content

History.isTraditionalAnchor does not work properly #315

Open
@igor-alexandrov

Description

@igor-alexandrov

Hello guys.

I have an issue with latest History.js 1.8b2. The problem is with URLs with params. For example if we push /catalog, then everything works find, but if we push /catalog?title=Apple' thenHistory.isTraditionalAnchorreturnsfalseand inHistory.getShortUrl ./` is not added to the start of the URL.

After this you got an URL like this http://192.168.0.7:3000/#catalog?brand=Cheetah instead of http://192.168.0.7:3000/#./catalog?brand=Cheetah. All seems to continue to work right, but URL is confusing.

In previous versions of History.js there was no History.isTraditionalAnchor. Why do we need it?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions