"deal with unescaped initial hash id" commit broke "page params" and "jQuery Mobile router" plugins #4986

Closed
DzenisevichK opened this Issue Sep 13, 2012 · 4 comments

Projects

None yet

5 participants

@DzenisevichK

After deal with unescaped initial hash id commit jqm redirect to firstPage on initial loading when use query/search for hash.

So this commit broke page params and jQuery Mobile router plugins that referenced from Passing parameters between pages...

See also comments to the commit.

@johnbender johnbender was assigned Sep 25, 2012
@jaspermdegroot
Member

See also the thread at commit 14855ad

@matt-d-rat

Any news on a fix for this issue? I can't upgrade to the latest version without a fix in place.

@DzenisevichK

@matt-d-rat

I decide to don't use query part for #hash but still pass params between pages with:

$.mobile.changePage(url, {
    params: {
         ...
    }
});

All that I cannot is using pages that required params as initial page but "life" is now more simpler...

@arschmitz
Member

closing this issue the official stance has always been this is not supported and we have decided that as of 1.5 we will allow any valid id for embded pages this means ? is a valid character for an id so the params will stay in link however they will not be treated as query params they will be treated as part of the ID

@arschmitz arschmitz closed this Aug 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment