Hi, is this extension working at all?

I have applied the patches and set $conf['https'] = TRUE; in settings.php. I have enabled the option "Make secure every page except the listed pages." and the Pages box is empty, because I want every page to redirect to https.

But nothing happens.

I log out, go to my homepage /. I can browse any URL, and it never redirects to https://.

I can go to /user/login and login. Still no redirect to https://

I can browse the /admin pages: not redirect to https://

Does this extension work at all?

CommentFileSizeAuthor
#2 admin_config_system_securepages.jpg46.27 KBAnonymous (not verified)

Comments

Anonymous’s picture

Solution: enter "some value" in the Pages box.

Then it starts to redirect as intendend. I entered "do-not-leave-this-box-empty-or-it-will-not-redirect-any-page"

I think this is a bug though. It needs to do its job regardless of the Pages box contents. Isn't it funny how, despite over 20175 sites using this extension, I'm the first to notice this behavior? Drupal...

Anonymous’s picture

StatusFileSize
new46.27 KB

My setttings, so you can see what I mean. (I forgot to click 'attach' in the previous post. It didn't upload automatically. Drupal...)

alex.skrypnyk’s picture

This is a bug and it is related to the fact that both securepages_match($path) and securepages_roles($user) functions return incorrect results when no pages specified or no roles selected in the configs.

Specifying some random page name will help to go around it.

jenlampton’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

Looks like this is a dupe of https://drupal.org/node/566632