Problem with HTTPS and href

Problem with HTTPS and href

Hi,

The problem I am having is that a href with an relative path is not being invoked properly when page is loaded via https:


Link in page:

<a href="/wallet/deal_buy/1/" data-role="button" data-theme="f" class="ui-btn ui-btn-corner-all ui-shadow ui-btn-hover-f ui-btn-down-f"><span class="ui-btn-inner ui-btn-corner-all"><span class="ui-btn-text">My Text </span></span></a>

The backend does a redirect (authentication) check during the process to a relative path:

/account/signup/?next=/wallet/deal_buy/1/

but the client tries to load:

which is not https hence fails (  Failed to load resource: cancelled) on Safari 5.

I am using a version of jquery mobile pull for the master git branch (yesterday).

The root problem appears to be that the jquery mobile library does not honor ssl on redirects.

Any help would be appreciated.

Steve