Changeset 3946


Ignore:
Timestamp:
Sep 29, 2009, 5:01:52 PM (11 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

Location:
extensions/gvideo
Files:
1 added
3 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.