Modify ↓
#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 )
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 , 5 years ago
| Milestone: | → modified-shop-2.0.6.1 |
|---|
comment:2 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 5 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.

In 13576: