Skip to content

Commit

Permalink
[Server] Enhance shortNameRegExp
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Apr 1, 2018
1 parent c8455b1 commit a642b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsapplication.cpp
Expand Up @@ -753,7 +753,7 @@ QString QgsApplication::userStyleV2Path()

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

QString QgsApplication::userLoginName()
Expand Down

0 comments on commit a642b5d

Please sign in to comment.