Skip to content

Commit 455a1e0

Browse files
committed
[Server] Enhance shortNameRegExp
1 parent 6ddd9ab commit 455a1e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsapplication.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ QString QgsApplication::userStylePath()
846846

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

852852
QString QgsApplication::userLoginName()

0 commit comments

Comments
 (0)