Modify

Opened 10 years ago

Closed 10 years ago

#870 closed Bug/Fehler (fixed)

SSL auch bei ENABLE_SSL=false

Reported by: Volker Strähle Owned by: somebody
Priority: hoch Milestone: modified-shop-2.0.1.0
Component: Sicherheit Version: 2.0.0.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Torsten Riemer)

Siehe 2.0 - SSL und xtc_href_link.inc.php

Ruft man einen Shop mit ENABLE_SSL=false über https auf werden Teile der Seite aufgrund der Prüfung ENABLE_SSL in xtc_href_link.inc.php trotz der https-Erkennung in der application_top.php nur mit http geladen, mit entsprechender Fehleranzeige im Browser.

Attachments (0)

Change History (5)

comment:1 by anonymous, 10 years ago

Wieso ENABLE_SSL = false wenn SSL verwendet wird?

comment:2 by Torsten Riemer, 10 years ago

Description: modified (diff)

comment:3 by Torsten Riemer, 10 years ago

Milestone: modified-shop-2.1.0.0modified-shop-2.0.0.1
Priority: normalhoch
Type: AufgabeBug/Fehler

comment:4 by Ronald Parcinski, 10 years ago

Replying to anonymous:

Wieso ENABLE_SSL = false wenn SSL verwendet wird?

Sehe ich auch so, das ist dann falsch konfiguriert

Allerdings entspricht der der jetzige Code nicht diesem aus 1.06

if ($connection == 'NONSSL') {
      $link = HTTP_SERVER . DIR_WS_CATALOG;
    } elseif ($connection == 'SSL') {
      if (ENABLE_SSL == true) {
        $link = HTTPS_SERVER . DIR_WS_CATALOG;
      } else {
        $link = HTTP_SERVER . DIR_WS_CATALOG;
      }
    }

Diesen Code von hpzeller halte ich für besser:

$link = (($connection == 'NONSSL') ? HTTP_SERVER : (ENABLE_SSL ? HTTPS_SERVER : HTTP_SERVER));

Den alten Code haben wir noch ähnlich in der Shopstatdatei.

Last edited 10 years ago by Torsten Riemer (previous) (diff)

comment:5 by Gerhard Waldemair, 10 years ago

Resolution: fixed
Status: newclosed

In 9903:

fix #870

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.