Skip to content

Commit

Permalink
Server standalone: strip initial blank in header values
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Mar 5, 2020
1 parent 3246a92 commit b559a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgis_mapserver.cpp
Expand Up @@ -353,7 +353,7 @@ int main( int argc, char *argv[] )
const int headerColonPos { headerLine.indexOf( ':' ) };
if ( headerColonPos > 0 )
{
headers.insert( headerLine.left( headerColonPos ), headerLine.mid( headerColonPos + 1 ) );
headers.insert( headerLine.left( headerColonPos ), headerLine.mid( headerColonPos + 2 ) );
}
}

Expand Down

0 comments on commit b559a15

Please sign in to comment.