Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#2051 closed Bug/Fehler (fixed)

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

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 (last modified by Torsten Riemer)

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

https://www.example.com/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']));
}

Attachments (0)

Change History (3)

comment:1 by Torsten Riemer, 5 years ago

Milestone: modified-shop-2.0.6.1

comment:2 by Gerhard Waldemair, 5 years ago

Resolution: fixed
Status: newclosed

In 13576:

fix #2051 - check for empty url for redirect

comment:3 by Torsten Riemer, 5 years ago

Description: modified (diff)

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.