Skip to content
Permalink
Browse files
[Server] Enhance shortNameRegExp
  • Loading branch information
rldhont committed Apr 1, 2018
1 parent 6ddd9ab commit 455a1e0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -846,7 +846,7 @@ QString QgsApplication::userStylePath()

QRegExp QgsApplication::shortNameRegExp()
{
return QRegExp( "^[A-Za-z][A-Za-z0-9\\._-]*" );
return QRegExp( "^[A-Za-z_][A-Za-z0-9\\._-]*" );
}

QString QgsApplication::userLoginName()

0 comments on commit 455a1e0

Please sign in to comment.