I user cvs DRUPAL 4.7
// $Id: disknode.module,v 1.8.2.25 2006/07/28 21:38:57 elmuerte Exp $
I use https (securepages module) for pages like
node/add*
node/*/edit
user/*
admin*
img_assist/*
disknode/*
When I use the Internet Explorer and I edit a node, I get the error message
"This page contains both secure and nonsecure items. Do you want to display the nonsecure items?"
The problem is an absolute URL on pages with disknode-forms.
When I replace line 250
<script type="text/javascript" src="${base_url}/modules/disknode/disknode.js"></script>
with
<script type="text/javascript" src="/modules/disknode/disknode.js"></script>
the problem is solved.
Why is the module disknode using absolute URL's?
Comments
Comment #1
AlanT commentedThe problem with the code change above is that it assume that Drupal is installed in the root directory, which it may not be.
A better solution would be to insure that SecurePages changes the base URL variable on encrypted pages.
Comment #2
mooffie commentedhttp://drupal.org/node/178231 solves this.