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 6ddd9ab commit 455a1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 455a1e0

Please sign in to comment.