Skip to content

Hash parameters get stripped from the url when used in an anchor #5230

Closed
azicchetti opened this Issue Oct 28, 2012 · 1 comment

3 participants

@azicchetti

Hi,
as far as I understand, starting from 1.2.1, jQM will support parameters in the hash part of the url natively (see the discussion in #5085).

However, it seems that parameters get stripped from the url when they're used in an anchor and, as a result, the url is not bookmarkable.

As @johnbender suggested, I'm opening another issue to address this problem.

Thanks

@azicchetti azicchetti referenced this issue in azicchetti/jquerymobile-router Oct 28, 2012
Closed

Refreshing triggers router on jQm v1.1 but not v1.2 #64

@johnbender johnbender was assigned Oct 29, 2012
@jlinse jlinse added a commit that referenced this issue Apr 19, 2013
@jlinse jlinse Navigation: Preserves hash parameters so a page can be reloaded or
bookmarked. Fixes #5230 - Hash parameters get stripped from the url when
used in an anchor
73fb97c
@jlinse jlinse pushed a commit to jlinse/jquery-mobile that referenced this issue Apr 20, 2013
James Linse Navigation: Preserves hash parameters so a page can be reloaded or bo…
…okmarked.

Fixes #5230 - Hash parameters get stripped from the url when used in an
anchor
b5b6535
@arschmitz
jQuery Foundation 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
Something went wrong with that request. Please try again.