Changeset 190 in t29-www for en/dev


Ignore:
Timestamp:
Sep 5, 2010, 6:20:04 AM (14 years ago)
Author:
sven
Message:
  • /en/dev/translation/editor.php: Zu rigider Regex fuer erlaubte Dateinamen.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • en/dev/translation/editor.php

    r189 r190  
    2323$input = $_GET['page'];
    2424
    25 if(!preg_match("#^/(de|en)/[/a-z]+\.s?html?$#", $input)) {
     25if(!preg_match("#^/(de|en)/[/a-z\-_]+\.s?html?$#", $input)) {
    2626        print "Bad input filename.";
    2727        exit;
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License