Opened 5 weeks ago

Closed 5 weeks ago

#1813 closed Bug/Fehler (fixed)

Sprachen mit Minus-Zeichen

Reported by: web-looks.de Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.5.2
Component: Shop Version: 2.0.5.1

Description

Neben dem Unterstrich sollte in der xtc_input_validation.inc.php auch das Minus-Zeichen für Sprachen erlaubt sein.

/inc/xtc_input_validation.inc.php

case 'lang':
  $replace_param = '/[^a-zA-Z_\-]/';
  break;

Attachments (0)

Change History (6)

comment:1 Changed 5 weeks ago by noRiddle

Begründung wäre gut, sonst kann man den request ja gar nicht einschätzen.

Gruß,
noRiddle

comment:2 Changed 5 weeks ago by anonymous

Damit man die Sprach/Ländercodes? auch mit einem Minus trennen kann. Beispiel: de-ch

https://support.google.com/webmasters/answer/189077?hl=en

comment:3 Changed 5 weeks ago by web-looks.de

Damit man die Sprach- und Ländercodes auch mit einem Minus trennen kann. Beispiel: de-ch

https://support.google.com/webmasters/answer/189077?hl=en

comment:4 Changed 5 weeks ago by Tomcraft

  • Milestone set to modified-shop-2.0.5.2

comment:5 Changed 5 weeks ago by noRiddle

Danke, unterstütze ich.

Gruß,
noRiddle

comment:6 Changed 5 weeks ago by GTB

  • Resolution set to fixed
  • Status changed from new to closed

In 12733:

fix #1813 - enable languages with minus sign (e.g. de-at, de-ch)

Add Comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.