Update Secure Pages default parameters to ignore */ajax/* urls

Created on 7 November 2007, about 17 years ago
Updated 26 November 2024, about 2 months ago

Observed this error when attempting to use the ajax interface to add content to a flexible panel: A javascript alert box pops up saying "An error occurred" then refuses to let me add anything to the panes. See attached "error.png"

The indispensable Firebug extension gives some more detail on what is happening:

uncaught exception: Security Error: Content at http://myhost/admin/panels/panel-page/home_panel/edit/content may not load data from http://myhost/panels/ajax/add-content/1/row_2_2.

This is apparently a conflict with Secure Pages, which I have configured to use https for everything under admin*.

Workaround: Added "panels/ajax*" to the list of paths that Secure Pages runs through SSL, et voila, I can add stuff to panes.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024