I'm building a jquerymobile/phonegap iOS app. All links are working beautifully now that i've set
$.mobile.allowCrossDomainPages = true;
however, forms no longer work. I am using primarily POST requests. when i use the full URL path http://mydomain.com/submit.php, the site reloads (is not completed via ajax - no transitions, CSS, etc). when i use only the submit.php path, I get the error:
"The requested URL was not found on this server."
My links work well via ajax when i use both absolute and relative paths (assuming the first link clicked uses absolute, which I'm assuming updates the base href.
Is this a bug or am I missing something?
I am experiencing the same problem. Cross domain form submitting does not work any more (it worked with alpha 4).
@derghostface Are you sure that this worked with a4? I can reproduce on both a4 and b2 (not sure about rc1, #2440 blocks me from trying)
Also fought this same problem - I've got a fix in place, pull request in a minute.
Fixed #2234 - form hijacking wasn't respecting allowCrossDomainPages,…
… now it does!
There's a simple check here for external url's that doesn't check against the cross domain pages setting, though it should.