jquery/jquery-mobile — Issue #3592: Incorrect hash url in toPage variable passed to pagebeforechange event
Author: evgenyneu
Created: 2012-02-16 18:00:47+00:00
State: open

`pagebeforechange` event handler receives incorrect URL in `toPage` variable of the second argument when using hashes in URL with sub-pages.

For example, if url contains #hash/sub-page, the `toPage` will not have the hash sign (#).

Here is working example with latest code:
http://jsfiddle.net/evgenyneu/qwzS9/33/

The bug seems to appear on all browser, I have tested in latest Chrome and Firefox under Ubuntu.