Skip to content

Commit c1b9706

Browse files
committed
[Server] Enhance shortNameRegExp
1 parent 2d3a097 commit c1b9706

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
@@ -743,7 +743,7 @@ QString QgsApplication::userStyleV2Path()
743743

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

749749
QString QgsApplication::userLoginName()

0 commit comments

Comments
 (0)