SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://x' cannot be created in a document with origin 'https://x' and URL 'https://x'.

Created on 5 December 2024, 14 days ago

Problem/Motivation

When using absolute URL's the module tries to push an insecure URL in the history state which triggers a browser error.

Steps to reproduce

Use absolute URL's when using ajax_wrapper.

Proposed resolution

Push new request onto the requeststack after generating the URL. The new request is insecure (uses HTTP) which results in the generated URL being insecure.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium victonator

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

Comments & Activities

Production build 0.71.5 2024