Opened 5 years ago

Last modified 5 years ago

#2051 closed Bug/Fehler

redirect.php - Fehlerhafte Umleitung, wenn für Hersteller keine URL hinterlegt wurde. — at Initial Version

Reported by: web-looks.de Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.7.0
Component: Shop Version: 2.0.6.0
Keywords: Cc:
Blocked By: Blocking:

Description

Wenn bei einem Hersteller keine URL angegeben wird, dann führt die redirect.php zu einem Fehler.

https://www.domain.de/redirect.php?action=manufacturer&manufacturers_id=7


Lösung

/redirect.php

Suchen nach:

xtc_redirect(check_url_scheme($manufacturer['manufacturers_url']));

Ersetzen mit:

if (!empty($manufacturer['manufacturers_url'])) {
	xtc_redirect(check_url_scheme($manufacturer['manufacturers_url']));
}

Change History (0)

Note: See TracTickets for help on using tickets.