Skip to content

Exhibit history mechanism inappropriately clears query portion of url #98

@karger

Description

@karger

When exhibit's query mechanism initializes it erases the query-string part from the url, which makes it impossible to reload the page you just loaded.

As part of its initialization, Exhibit.History identifies the original document location as
Exhibit.History._originalLocation = Exhibit.Persistence.getURLWithoutQueryAndHash();
then during initialization it invokes pushState() which sets
url = Exhibit.History._originalLocation;
and then passes url to history.pushState, which updates the location to url, thus erasing the query string.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions