Tabbed Login Widget
[resolved] Logut to https (2 posts)

  1. Knut Sparhell
    Posted 3 years ago #

    Nice plugin, but it has a serious bug.

    When logging out you may be sent to a https version of the current URL. This is because of line 64 of tabbed-login.php. The global $_SERVER['https'] may also have the value "off". In that case the "s" must not be added.

    $current_url='http'.(empty($_SERVER['HTTPS']) || $_SERVER['HTTPS']=='off'?'':'s').'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];

    will help.

    When a user is sent to a non-existent https site it will hit the server, but not the correct site. The error message i the browser may look very nasty.


  2. Vivek Marakana
    Plugin Author

    Posted 3 years ago #

    Thanks for helping...Will be updated in new version...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tabbed Login Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic