Hi - I don't seem to be able to find any other people with similar issues here - please correct me if I'm wrong.

I setup secure pages and the HTTP/HTTPS public site is working well, however, when using Views with Ajax and I click the "Update" button, I get the following output from Drupal (the update does occur btw - you just have to click the "back" button to see it)

{ "replace": { "#views-tab-default": "\x3cdiv class=\"clear-block views-display views-display-default\"\x3e\n \x3cdiv class=\"top\"\x3e\n etc etc etc

(the above code when the HTML source is viewed has

 tags wrapping it - not sure if this is part of the problem)

Thanks in advance for any thoughts on what might be going on here...

Duncan

Comments

sammy-node’s picture

It didn't print out - but the bit;

the HTML source is viewed has tags wrapping it -

should say;

the HTML source is viewed has <.pre> tags wrapping it -

greggles’s picture

Title: Views update using Ajax broken by Secure Pages » Views update using Ajax broken by HTPPS
Project: Secure Pages » Views (for Drupal 7)
Version: 6.x-1.7-beta2 » 6.x-2.x-dev

I've seen this problem as well on some sites which are using HTTPS but are not using the Secure Pages module.

So, I'm re-assigning it to the Views queue and marking it as a duplicate of #347753: Ajax returned as new page when updating a field.

merlinofchaos’s picture

Status: Active » Closed (won't fix)

secure pages doesn't (or at least, did not) automatically consider views/ajax paths as admin, and http to https breaks javascript security models, sadly. Not much I can do about this.