mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
allow uppercase
This commit is contained in:
parent
70233a6e34
commit
8f9166cd68
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class OpsActions extends Actions
|
|||
{
|
||||
$log = isset($_POST['log']) ? urldecode($_POST['log']) : null;
|
||||
$name = isset($_POST['name']) ?
|
||||
preg_replace('/[^a-z0-9_-]+/', '', substr(strtolower(trim(urldecode($_POST['name']))),0,50)) :
|
||||
preg_replace('/[^A-Za-z0-9_-]+/', '', substr(trim(urldecode($_POST['name'])),0,50)) :
|
||||
null;
|
||||
|
||||
Actions::returnErrorIf(!$log || !$name, "Required params: log, name");
|
||||
|
|
Loading…
Add table
Reference in a new issue