Ignore:
Timestamp:
Sep 29, 2009, 5:01:52 PM (15 years ago)
Author:
patdenice
Message:

[Plugin PY GVideo]
Show error message if there is a wrong caracter in file name.
Add mimetype for wat.tv

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gvideo/admin/add_page.php

    r3697 r3946  
    9494  {
    9595    array_push($page['errors'], l10n('py_error2'), l10n('py_error3'));
     96  }
     97  elseif (!preg_match('/^[a-zA-Z0-9-_.]+$/', $_POST['pywaie_add_name']))
     98  {
     99    array_push($page['errors'], l10n('update_wrong_dirname_info'));
    96100  }
    97101  else
Note: See TracChangeset for help on using the changeset viewer.